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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalGatewayVirtualInterface.Builder
localAddress(String localAddress)
The local address.LocalGatewayVirtualInterface.Builder
localBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.LocalGatewayVirtualInterface.Builder
localGatewayId(String localGatewayId)
The ID of the local gateway.LocalGatewayVirtualInterface.Builder
localGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.LocalGatewayVirtualInterface.Builder
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.LocalGatewayVirtualInterface.Builder
peerAddress(String peerAddress)
The peer address.LocalGatewayVirtualInterface.Builder
peerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.LocalGatewayVirtualInterface.Builder
tags(Collection<Tag> tags)
The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Builder
tags(Tag... tags)
The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Builder
vlan(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, 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.
-
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.
-
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
)
-
-