Interface LocalGatewayVirtualInterface.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LocalGatewayVirtualInterface.Builder,
,LocalGatewayVirtualInterface> SdkBuilder<LocalGatewayVirtualInterface.Builder,
,LocalGatewayVirtualInterface> SdkPojo
- Enclosing class:
LocalGatewayVirtualInterface
public static interface LocalGatewayVirtualInterface.Builder
extends SdkPojo, CopyableBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>
-
Method Summary
Modifier and TypeMethodDescriptionlocalAddress
(String localAddress) The local address.localBgpAsn
(Integer localBgpAsn) The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.localGatewayId
(String localGatewayId) The ID of the local gateway.localGatewayVirtualInterfaceId
(String localGatewayVirtualInterfaceId) The ID of the virtual interface.The ID of the Amazon Web Services account that owns the local gateway virtual interface.peerAddress
(String peerAddress) The peer address.peerBgpAsn
(Integer peerBgpAsn) The peer BGP ASN.tags
(Collection<Tag> tags) The tags assigned to the virtual interface.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the virtual interface.The tags assigned to the virtual interface.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, sdkFields
-
Method Details
-
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
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.
-
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
The local address.
- Parameters:
localAddress
- The local address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
-
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
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
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
The tags assigned to the virtual interface.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-