Interface SecondaryNetwork.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryNetwork.Builder,SecondaryNetwork>,SdkBuilder<SecondaryNetwork.Builder,SecondaryNetwork>,SdkPojo
- Enclosing class:
- SecondaryNetwork
@Mutable @NotThreadSafe public static interface SecondaryNetwork.Builder extends SdkPojo, CopyableBuilder<SecondaryNetwork.Builder,SecondaryNetwork>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecondaryNetwork.Builderipv4CidrBlockAssociations(Collection<SecondaryNetworkIpv4CidrBlockAssociation> ipv4CidrBlockAssociations)Information about the IPv4 CIDR blocks associated with the secondary network.SecondaryNetwork.Builderipv4CidrBlockAssociations(Consumer<SecondaryNetworkIpv4CidrBlockAssociation.Builder>... ipv4CidrBlockAssociations)Information about the IPv4 CIDR blocks associated with the secondary network.SecondaryNetwork.Builderipv4CidrBlockAssociations(SecondaryNetworkIpv4CidrBlockAssociation... ipv4CidrBlockAssociations)Information about the IPv4 CIDR blocks associated with the secondary network.SecondaryNetwork.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the secondary network.SecondaryNetwork.BuildersecondaryNetworkArn(String secondaryNetworkArn)The Amazon Resource Name (ARN) of the secondary network.SecondaryNetwork.BuildersecondaryNetworkId(String secondaryNetworkId)The ID of the secondary network.SecondaryNetwork.Builderstate(String state)The state of the secondary network.SecondaryNetwork.Builderstate(SecondaryNetworkState state)The state of the secondary network.SecondaryNetwork.BuilderstateReason(String stateReason)The reason for the current state of the secondary network.SecondaryNetwork.Buildertags(Collection<Tag> tags)The tags assigned to the secondary network.SecondaryNetwork.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the secondary network.SecondaryNetwork.Buildertags(Tag... tags)The tags assigned to the secondary network.SecondaryNetwork.Buildertype(String type)The type of the secondary network.SecondaryNetwork.Buildertype(SecondaryNetworkType type)The type of the secondary network.-
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
-
secondaryNetworkId
SecondaryNetwork.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.
-
secondaryNetworkArn
SecondaryNetwork.Builder secondaryNetworkArn(String 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
SecondaryNetwork.Builder ownerId(String 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
SecondaryNetwork.Builder type(String 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:
SecondaryNetworkType,SecondaryNetworkType
-
type
SecondaryNetwork.Builder type(SecondaryNetworkType 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:
SecondaryNetworkType,SecondaryNetworkType
-
state
SecondaryNetwork.Builder state(String 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:
SecondaryNetworkState,SecondaryNetworkState
-
state
SecondaryNetwork.Builder state(SecondaryNetworkState 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:
SecondaryNetworkState,SecondaryNetworkState
-
stateReason
SecondaryNetwork.Builder stateReason(String 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 to#ipv4CidrBlockAssociations(List.) - 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:
#ipv4CidrBlockAssociations(java.util.Collection)
-
tags
SecondaryNetwork.Builder tags(Collection<Tag> 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
SecondaryNetwork.Builder tags(Tag... 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
SecondaryNetwork.Builder tags(Consumer<Tag.Builder>... 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 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)
-
-