public static interface VpnGateway.Builder extends 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(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(VpcAttachment... vpcAttachments)
Any VPCs attached to the virtual private gateway.
|
VpnGateway.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
copy
apply, 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 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.