public static interface CustomerGateway.Builder extends CopyableBuilder<CustomerGateway.Builder,CustomerGateway>
| Modifier and Type | Method and 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(Consumer<Tag.Builder>... 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). |
copyapply, buildCustomerGateway.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.
tags - Any tags assigned to the customer gateway.CustomerGateway.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the customer 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.