public static interface LocalGatewayVirtualInterface.Builder extends SdkPojo, CopyableBuilder<LocalGatewayVirtualInterface.Builder,LocalGatewayVirtualInterface>
Modifier and Type | Method and 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
LocalGatewayVirtualInterface.Builder localGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.
localGatewayVirtualInterfaceId
- The ID of the virtual interface.LocalGatewayVirtualInterface.Builder localGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.LocalGatewayVirtualInterface.Builder vlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.LocalGatewayVirtualInterface.Builder localAddress(String localAddress)
The local address.
localAddress
- The local address.LocalGatewayVirtualInterface.Builder peerAddress(String peerAddress)
The peer address.
peerAddress
- The peer address.LocalGatewayVirtualInterface.Builder localBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
localBgpAsn
- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.LocalGatewayVirtualInterface.Builder peerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.
peerBgpAsn
- The peer BGP ASN.LocalGatewayVirtualInterface.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway virtual interface.LocalGatewayVirtualInterface.Builder tags(Collection<Tag> tags)
The tags assigned to the virtual interface.
tags
- The tags assigned to the virtual interface.LocalGatewayVirtualInterface.Builder tags(Tag... tags)
The tags assigned to the virtual interface.
tags
- The tags assigned to the virtual interface.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 via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.