Interface SecondarySubnet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecondarySubnet.Builder,,SecondarySubnet> SdkBuilder<SecondarySubnet.Builder,,SecondarySubnet> SdkPojo
- Enclosing class:
SecondarySubnet
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone of the secondary subnet.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone of the secondary subnet.ipv4CidrBlockAssociations(Collection<SecondarySubnetIpv4CidrBlockAssociation> ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary subnet.ipv4CidrBlockAssociations(Consumer<SecondarySubnetIpv4CidrBlockAssociation.Builder>... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary subnet.ipv4CidrBlockAssociations(SecondarySubnetIpv4CidrBlockAssociation... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary subnet.The ID of the Amazon Web Services account that owns the secondary subnet.secondaryNetworkId(String secondaryNetworkId) The ID of the secondary network.secondaryNetworkType(String secondaryNetworkType) The type of the secondary network.secondaryNetworkType(SecondaryNetworkType secondaryNetworkType) The type of the secondary network.secondarySubnetArn(String secondarySubnetArn) The Amazon Resource Name (ARN) of the secondary subnet.secondarySubnetId(String secondarySubnetId) The ID of the secondary subnet.The state of the secondary subnet.state(SecondarySubnetState state) The state of the secondary subnet.stateReason(String stateReason) The reason for the current state of the secondary subnet.tags(Collection<Tag> tags) The tags assigned to the secondary subnet.tags(Consumer<Tag.Builder>... tags) The tags assigned to the secondary subnet.The tags assigned to the secondary subnet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
secondarySubnetId
The ID of the secondary subnet.
- Parameters:
secondarySubnetId- The ID of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySubnetArn
The Amazon Resource Name (ARN) of the secondary subnet.
- Parameters:
secondarySubnetArn- The Amazon Resource Name (ARN) of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryNetworkId
The ID of the secondary network.
- Parameters:
secondaryNetworkId- The ID of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryNetworkType
The type of the secondary network.
- Parameters:
secondaryNetworkType- The type of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryNetworkType
The type of the secondary network.
- Parameters:
secondaryNetworkType- The type of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The ID of the Amazon Web Services account that owns the secondary subnet.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The ID of the Availability Zone of the secondary subnet.
- Parameters:
availabilityZoneId- The ID of the Availability Zone of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the secondary subnet.
- Parameters:
availabilityZone- The Availability Zone of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlockAssociations
SecondarySubnet.Builder ipv4CidrBlockAssociations(Collection<SecondarySubnetIpv4CidrBlockAssociation> ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary subnet.
- Parameters:
ipv4CidrBlockAssociations- Information about the IPv4 CIDR blocks associated with the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlockAssociations
SecondarySubnet.Builder ipv4CidrBlockAssociations(SecondarySubnetIpv4CidrBlockAssociation... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary subnet.
- Parameters:
ipv4CidrBlockAssociations- Information about the IPv4 CIDR blocks associated with the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlockAssociations
SecondarySubnet.Builder ipv4CidrBlockAssociations(Consumer<SecondarySubnetIpv4CidrBlockAssociation.Builder>... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary subnet.
This is a convenience method that creates an instance of theSecondarySubnetIpv4CidrBlockAssociation.Builderavoiding the need to create one manually viaSecondarySubnetIpv4CidrBlockAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipv4CidrBlockAssociations(List<SecondarySubnetIpv4CidrBlockAssociation>).- Parameters:
ipv4CidrBlockAssociations- a consumer that will call methods onSecondarySubnetIpv4CidrBlockAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the secondary subnet.
- Parameters:
state- The state of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the secondary subnet.
- Parameters:
state- The state of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason for the current state of the secondary subnet.
- Parameters:
stateReason- The reason for the current state of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary subnet.
- Parameters:
tags- The tags assigned to the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary subnet.
- Parameters:
tags- The tags assigned to the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary subnet.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-