Interface LocalGatewayVirtualInterface.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>,SdkBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>,SdkPojo
- Enclosing class:
- LocalGatewayVirtualInterface
@Mutable @NotThreadSafe public static interface LocalGatewayVirtualInterface.Builder extends SdkPojo, CopyableBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalGatewayVirtualInterface.BuilderconfigurationState(String configurationState)The current state of the local gateway virtual interface.LocalGatewayVirtualInterface.BuilderconfigurationState(LocalGatewayVirtualInterfaceConfigurationState configurationState)The current state of the local gateway virtual interface.LocalGatewayVirtualInterface.BuilderlocalAddress(String localAddress)The local address.LocalGatewayVirtualInterface.BuilderlocalBgpAsn(Integer localBgpAsn)The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.LocalGatewayVirtualInterface.BuilderlocalGatewayId(String localGatewayId)The ID of the local gateway.LocalGatewayVirtualInterface.BuilderlocalGatewayVirtualInterfaceArn(String localGatewayVirtualInterfaceArn)The Amazon Resource Number (ARN) of the local gateway virtual interface.LocalGatewayVirtualInterface.BuilderlocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)The ID of the local gateway virtual interface group.LocalGatewayVirtualInterface.BuilderlocalGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)The ID of the virtual interface.LocalGatewayVirtualInterface.BuilderoutpostLagId(String outpostLagId)The Outpost LAG ID.LocalGatewayVirtualInterface.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the local gateway virtual interface.LocalGatewayVirtualInterface.BuilderpeerAddress(String peerAddress)The peer address.LocalGatewayVirtualInterface.BuilderpeerBgpAsn(Integer peerBgpAsn)The peer BGP ASN.LocalGatewayVirtualInterface.BuilderpeerBgpAsnExtended(Long peerBgpAsnExtended)The extended 32-bit ASN of the BGP peer for use with larger ASN values.LocalGatewayVirtualInterface.Buildertags(Collection<Tag> tags)The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Buildertags(Tag... tags)The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Buildervlan(Integer vlan)The ID of the VLAN.-
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
-
localGatewayVirtualInterfaceId
LocalGatewayVirtualInterface.Builder localGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.
- Parameters:
localGatewayVirtualInterfaceId- The ID of the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayId
LocalGatewayVirtualInterface.Builder localGatewayId(String localGatewayId)
The ID of the local gateway.
- Parameters:
localGatewayId- The ID of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaceGroupId
LocalGatewayVirtualInterface.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the local gateway virtual interface group.
- Parameters:
localGatewayVirtualInterfaceGroupId- The ID of the local gateway virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaceArn
LocalGatewayVirtualInterface.Builder localGatewayVirtualInterfaceArn(String localGatewayVirtualInterfaceArn)
The Amazon Resource Number (ARN) of the local gateway virtual interface.
- Parameters:
localGatewayVirtualInterfaceArn- The Amazon Resource Number (ARN) of the local gateway virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostLagId
LocalGatewayVirtualInterface.Builder outpostLagId(String outpostLagId)
The Outpost LAG ID.
- Parameters:
outpostLagId- The Outpost LAG ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vlan
LocalGatewayVirtualInterface.Builder vlan(Integer vlan)
The ID of the VLAN.
- Parameters:
vlan- The ID of the VLAN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localAddress
LocalGatewayVirtualInterface.Builder localAddress(String localAddress)
The local address.
- Parameters:
localAddress- The local address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
LocalGatewayVirtualInterface.Builder peerAddress(String peerAddress)
The peer address.
- Parameters:
peerAddress- The peer address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localBgpAsn
LocalGatewayVirtualInterface.Builder localBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
- Parameters:
localBgpAsn- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerBgpAsn
LocalGatewayVirtualInterface.Builder peerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.
- Parameters:
peerBgpAsn- The peer BGP ASN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerBgpAsnExtended
LocalGatewayVirtualInterface.Builder peerBgpAsnExtended(Long peerBgpAsnExtended)
The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- Parameters:
peerBgpAsnExtended- The extended 32-bit ASN of the BGP peer for use with larger ASN values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
LocalGatewayVirtualInterface.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the local gateway virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LocalGatewayVirtualInterface.Builder tags(Collection<Tag> tags)
The tags assigned to the virtual interface.
- Parameters:
tags- The tags assigned to the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LocalGatewayVirtualInterface.Builder tags(Tag... tags)
The tags assigned to the virtual interface.
- Parameters:
tags- The tags assigned to the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LocalGatewayVirtualInterface.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the virtual interface.
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)
-
configurationState
LocalGatewayVirtualInterface.Builder configurationState(String configurationState)
The current state of the local gateway virtual interface.
- Parameters:
configurationState- The current state of the local gateway virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LocalGatewayVirtualInterfaceConfigurationState,LocalGatewayVirtualInterfaceConfigurationState
-
configurationState
LocalGatewayVirtualInterface.Builder configurationState(LocalGatewayVirtualInterfaceConfigurationState configurationState)
The current state of the local gateway virtual interface.
- Parameters:
configurationState- The current state of the local gateway virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LocalGatewayVirtualInterfaceConfigurationState,LocalGatewayVirtualInterfaceConfigurationState
-
-