public static interface VpnGateway.Builder extends SdkPojo, CopyableBuilder<VpnGateway.Builder,VpnGateway>
Modifier and Type | Method and Description |
---|---|
VpnGateway.Builder |
amazonSideAsn(Long amazonSideAsn)
The private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
VpnGateway.Builder |
availabilityZone(String availabilityZone)
The Availability Zone where the virtual private gateway was created, if applicable.
|
VpnGateway.Builder |
state(String state)
The current state of the virtual private gateway.
|
VpnGateway.Builder |
state(VpnState state)
The current state of the virtual private gateway.
|
VpnGateway.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the virtual private gateway.
|
VpnGateway.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the virtual private gateway.
|
VpnGateway.Builder |
tags(Tag... tags)
Any tags assigned to the virtual private gateway.
|
VpnGateway.Builder |
type(GatewayType type)
The type of VPN connection the virtual private gateway supports.
|
VpnGateway.Builder |
type(String type)
The type of VPN connection the virtual private gateway supports.
|
VpnGateway.Builder |
vpcAttachments(Collection<VpcAttachment> vpcAttachments)
Any VPCs attached to the virtual private gateway.
|
VpnGateway.Builder |
vpcAttachments(Consumer<VpcAttachment.Builder>... vpcAttachments)
Any VPCs attached to the virtual private gateway.
|
VpnGateway.Builder |
vpcAttachments(VpcAttachment... vpcAttachments)
Any VPCs attached to the virtual private gateway.
|
VpnGateway.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
VpnGateway.Builder availabilityZone(String availabilityZone)
The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
availabilityZone
- The Availability Zone where the virtual private gateway was created, if applicable. This field may be
empty or not returned.VpnGateway.Builder state(String state)
The current state of the virtual private gateway.
VpnGateway.Builder state(VpnState state)
The current state of the virtual private gateway.
VpnGateway.Builder type(String type)
The type of VPN connection the virtual private gateway supports.
type
- The type of VPN connection the virtual private gateway supports.GatewayType
,
GatewayType
VpnGateway.Builder type(GatewayType type)
The type of VPN connection the virtual private gateway supports.
type
- The type of VPN connection the virtual private gateway supports.GatewayType
,
GatewayType
VpnGateway.Builder vpcAttachments(Collection<VpcAttachment> vpcAttachments)
Any VPCs attached to the virtual private gateway.
vpcAttachments
- Any VPCs attached to the virtual private gateway.VpnGateway.Builder vpcAttachments(VpcAttachment... vpcAttachments)
Any VPCs attached to the virtual private gateway.
vpcAttachments
- Any VPCs attached to the virtual private gateway.VpnGateway.Builder vpcAttachments(Consumer<VpcAttachment.Builder>... vpcAttachments)
Any VPCs attached to the virtual private gateway.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #vpcAttachments(List)
.vpcAttachments
- a consumer that will call methods on List.Builder
#vpcAttachments(List)
VpnGateway.Builder vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId
- The ID of the virtual private gateway.VpnGateway.Builder amazonSideAsn(Long amazonSideAsn)
The private Autonomous System Number (ASN) for the Amazon side of a BGP session.
amazonSideAsn
- The private Autonomous System Number (ASN) for the Amazon side of a BGP session.VpnGateway.Builder tags(Collection<Tag> tags)
Any tags assigned to the virtual private gateway.
tags
- Any tags assigned to the virtual private gateway.VpnGateway.Builder tags(Tag... tags)
Any tags assigned to the virtual private gateway.
tags
- Any tags assigned to the virtual private gateway.VpnGateway.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the virtual private gateway.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2020. All rights reserved.