CopyableBuilder<CustomerGateway.Builder,CustomerGateway>
, SdkBuilder<CustomerGateway.Builder,CustomerGateway>
public static interface CustomerGateway.Builder extends CopyableBuilder<CustomerGateway.Builder,CustomerGateway>
Modifier and Type | Method | Description |
---|---|---|
CustomerGateway.Builder |
bgpAsn(String bgpAsn) |
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
CustomerGateway.Builder |
customerGatewayId(String customerGatewayId) |
The ID of the customer gateway.
|
CustomerGateway.Builder |
ipAddress(String ipAddress) |
The Internet-routable IP address of the customer gateway's outside interface.
|
CustomerGateway.Builder |
state(String state) |
The current state of the customer gateway (
pending | available | deleting | deleted ). |
CustomerGateway.Builder |
tags(Collection<Tag> tags) |
Any tags assigned to the customer gateway.
|
CustomerGateway.Builder |
tags(Tag... tags) |
Any tags assigned to the customer gateway.
|
CustomerGateway.Builder |
type(String type) |
The type of VPN connection the customer gateway supports (
ipsec.1 ). |
copy
apply, build
CustomerGateway.Builder bgpAsn(String bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
bgpAsn
- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).CustomerGateway.Builder customerGatewayId(String customerGatewayId)
The ID of the customer gateway.
customerGatewayId
- The ID of the customer gateway.CustomerGateway.Builder ipAddress(String ipAddress)
The Internet-routable IP address of the customer gateway's outside interface.
ipAddress
- The Internet-routable IP address of the customer gateway's outside interface.CustomerGateway.Builder state(String state)
The current state of the customer gateway (pending | available | deleting | deleted
).
state
- The current state of the customer gateway (pending | available | deleting | deleted
).CustomerGateway.Builder type(String type)
The type of VPN connection the customer gateway supports (ipsec.1
).
type
- The type of VPN connection the customer gateway supports (ipsec.1
).CustomerGateway.Builder tags(Collection<Tag> tags)
Any tags assigned to the customer gateway.
tags
- Any tags assigned to the customer gateway.CustomerGateway.Builder tags(Tag... tags)
Any tags assigned to the customer 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 customer gateway.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.