CopyableBuilder<VpnGateway.Builder,VpnGateway>
, SdkBuilder<VpnGateway.Builder,VpnGateway>
public static interface VpnGateway.Builder extends CopyableBuilder<VpnGateway.Builder,VpnGateway>
Modifier and Type | Method | Description |
---|---|---|
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(String type) |
The type of VPN connection the virtual private gateway supports.
|
VpnGateway.Builder |
type(GatewayType 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.
state
- The current state of the virtual private gateway.VpnState
VpnGateway.Builder state(VpnState state)
The current state of the virtual private gateway.
state
- The current state of the virtual private gateway.VpnState
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
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
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.
NOTE: This method appends the values to the existing list (if any). Use
#setVpcAttachments(java.util.Collection)
or #withVpcAttachments(java.util.Collection)
if you
want to override the existing values.
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 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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the virtual private gateway.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.