Interface SecondaryNetwork.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryNetwork.Builder,,SecondaryNetwork> SdkBuilder<SecondaryNetwork.Builder,,SecondaryNetwork> SdkPojo
- Enclosing class:
SecondaryNetwork
-
Method Summary
Modifier and TypeMethodDescriptionipv4CidrBlockAssociations(Collection<SecondaryNetworkIpv4CidrBlockAssociation> ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary network.ipv4CidrBlockAssociations(Consumer<SecondaryNetworkIpv4CidrBlockAssociation.Builder>... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary network.ipv4CidrBlockAssociations(SecondaryNetworkIpv4CidrBlockAssociation... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary network.The ID of the Amazon Web Services account that owns the secondary network.secondaryNetworkArn(String secondaryNetworkArn) The Amazon Resource Name (ARN) of the secondary network.secondaryNetworkId(String secondaryNetworkId) The ID of the secondary network.The state of the secondary network.state(SecondaryNetworkState state) The state of the secondary network.stateReason(String stateReason) The reason for the current state of the secondary network.tags(Collection<Tag> tags) The tags assigned to the secondary network.tags(Consumer<Tag.Builder>... tags) The tags assigned to the secondary network.The tags assigned to the secondary network.The type of the secondary network.type(SecondaryNetworkType type) The type of the secondary network.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
-
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.
-
secondaryNetworkArn
The Amazon Resource Name (ARN) of the secondary network.
- Parameters:
secondaryNetworkArn- The Amazon Resource Name (ARN) of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the Amazon Web Services account that owns the secondary network.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the secondary network.
- Parameters:
type- The type of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the secondary network.
- Parameters:
type- The type of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the secondary network.
- Parameters:
state- The state of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the secondary network.
- Parameters:
state- The state of the secondary network.- 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 network.
- Parameters:
stateReason- The reason for the current state of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlockAssociations
SecondaryNetwork.Builder ipv4CidrBlockAssociations(Collection<SecondaryNetworkIpv4CidrBlockAssociation> ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary network.
- Parameters:
ipv4CidrBlockAssociations- Information about the IPv4 CIDR blocks associated with the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlockAssociations
SecondaryNetwork.Builder ipv4CidrBlockAssociations(SecondaryNetworkIpv4CidrBlockAssociation... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary network.
- Parameters:
ipv4CidrBlockAssociations- Information about the IPv4 CIDR blocks associated with the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4CidrBlockAssociations
SecondaryNetwork.Builder ipv4CidrBlockAssociations(Consumer<SecondaryNetworkIpv4CidrBlockAssociation.Builder>... ipv4CidrBlockAssociations) Information about the IPv4 CIDR blocks associated with the secondary network.
This is a convenience method that creates an instance of theSecondaryNetworkIpv4CidrBlockAssociation.Builderavoiding the need to create one manually viaSecondaryNetworkIpv4CidrBlockAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipv4CidrBlockAssociations(List<SecondaryNetworkIpv4CidrBlockAssociation>).- Parameters:
ipv4CidrBlockAssociations- a consumer that will call methods onSecondaryNetworkIpv4CidrBlockAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the secondary network.
- Parameters:
tags- The tags assigned to the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary network.
- Parameters:
tags- The tags assigned to the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary network.
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:
-