Interface SecondarySubnet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecondarySubnet.Builder,SecondarySubnet>,SdkBuilder<SecondarySubnet.Builder,SecondarySubnet>,SdkPojo
- Enclosing class:
- SecondarySubnet
@Mutable @NotThreadSafe public static interface SecondarySubnet.Builder extends SdkPojo, CopyableBuilder<SecondarySubnet.Builder,SecondarySubnet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecondarySubnet.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the secondary subnet.SecondarySubnet.BuilderavailabilityZoneId(String availabilityZoneId)The ID of the Availability Zone of the secondary subnet.SecondarySubnet.Builderipv4CidrBlockAssociations(Collection<SecondarySubnetIpv4CidrBlockAssociation> ipv4CidrBlockAssociations)Information about the IPv4 CIDR blocks associated with the secondary subnet.SecondarySubnet.Builderipv4CidrBlockAssociations(Consumer<SecondarySubnetIpv4CidrBlockAssociation.Builder>... ipv4CidrBlockAssociations)Information about the IPv4 CIDR blocks associated with the secondary subnet.SecondarySubnet.Builderipv4CidrBlockAssociations(SecondarySubnetIpv4CidrBlockAssociation... ipv4CidrBlockAssociations)Information about the IPv4 CIDR blocks associated with the secondary subnet.SecondarySubnet.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the secondary subnet.SecondarySubnet.BuildersecondaryNetworkId(String secondaryNetworkId)The ID of the secondary network.SecondarySubnet.BuildersecondaryNetworkType(String secondaryNetworkType)The type of the secondary network.SecondarySubnet.BuildersecondaryNetworkType(SecondaryNetworkType secondaryNetworkType)The type of the secondary network.SecondarySubnet.BuildersecondarySubnetArn(String secondarySubnetArn)The Amazon Resource Name (ARN) of the secondary subnet.SecondarySubnet.BuildersecondarySubnetId(String secondarySubnetId)The ID of the secondary subnet.SecondarySubnet.Builderstate(String state)The state of the secondary subnet.SecondarySubnet.Builderstate(SecondarySubnetState state)The state of the secondary subnet.SecondarySubnet.BuilderstateReason(String stateReason)The reason for the current state of the secondary subnet.SecondarySubnet.Buildertags(Collection<Tag> tags)The tags assigned to the secondary subnet.SecondarySubnet.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the secondary subnet.SecondarySubnet.Buildertags(Tag... tags)The tags assigned to the secondary subnet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
secondarySubnetId
SecondarySubnet.Builder secondarySubnetId(String 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
SecondarySubnet.Builder secondarySubnetArn(String 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
SecondarySubnet.Builder secondaryNetworkId(String 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
SecondarySubnet.Builder secondaryNetworkType(String 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,SecondaryNetworkType
-
secondaryNetworkType
SecondarySubnet.Builder secondaryNetworkType(SecondaryNetworkType 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,SecondaryNetworkType
-
ownerId
SecondarySubnet.Builder ownerId(String 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
SecondarySubnet.Builder availabilityZoneId(String 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
SecondarySubnet.Builder availabilityZone(String 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 to#ipv4CidrBlockAssociations(List.) - 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:
#ipv4CidrBlockAssociations(java.util.Collection)
-
state
SecondarySubnet.Builder state(String 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:
SecondarySubnetState,SecondarySubnetState
-
state
SecondarySubnet.Builder state(SecondarySubnetState 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:
SecondarySubnetState,SecondarySubnetState
-
stateReason
SecondarySubnet.Builder stateReason(String 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
SecondarySubnet.Builder tags(Collection<Tag> 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
SecondarySubnet.Builder tags(Tag... 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
SecondarySubnet.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-