Interface VpnConcentrator.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpnConcentrator.Builder,VpnConcentrator>,SdkBuilder<VpnConcentrator.Builder,VpnConcentrator>,SdkPojo
- Enclosing class:
- VpnConcentrator
@Mutable @NotThreadSafe public static interface VpnConcentrator.Builder extends SdkPojo, CopyableBuilder<VpnConcentrator.Builder,VpnConcentrator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpnConcentrator.Builderstate(String state)The current state of the VPN concentrator.VpnConcentrator.Buildertags(Collection<Tag> tags)Any tags assigned to the VPN concentrator.VpnConcentrator.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the VPN concentrator.VpnConcentrator.Buildertags(Tag... tags)Any tags assigned to the VPN concentrator.VpnConcentrator.BuildertransitGatewayAttachmentId(String transitGatewayAttachmentId)The ID of the transit gateway attachment for the VPN concentrator.VpnConcentrator.BuildertransitGatewayId(String transitGatewayId)The ID of the transit gateway associated with the VPN concentrator.VpnConcentrator.Buildertype(String type)The type of VPN concentrator.VpnConcentrator.BuildervpnConcentratorId(String vpnConcentratorId)The ID of the VPN concentrator.-
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
-
vpnConcentratorId
VpnConcentrator.Builder vpnConcentratorId(String vpnConcentratorId)
The ID of the VPN concentrator.
- Parameters:
vpnConcentratorId- The ID of the VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
VpnConcentrator.Builder state(String state)
The current state of the VPN concentrator.
- Parameters:
state- The current state of the VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
VpnConcentrator.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway associated with the VPN concentrator.
- Parameters:
transitGatewayId- The ID of the transit gateway associated with the VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAttachmentId
VpnConcentrator.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment for the VPN concentrator.
- Parameters:
transitGatewayAttachmentId- The ID of the transit gateway attachment for the VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
VpnConcentrator.Builder type(String type)
The type of VPN concentrator.
- Parameters:
type- The type of VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
VpnConcentrator.Builder tags(Collection<Tag> tags)
Any tags assigned to the VPN concentrator.
- Parameters:
tags- Any tags assigned to the VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
VpnConcentrator.Builder tags(Tag... tags)
Any tags assigned to the VPN concentrator.
- Parameters:
tags- Any tags assigned to the VPN concentrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
VpnConcentrator.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the VPN concentrator.
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)
-
-