public static interface CustomerGateway.Builder extends SdkPojo, 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 |
certificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the customer gateway certificate.
|
CustomerGateway.Builder |
customerGatewayId(String customerGatewayId)
The ID of the customer gateway.
|
CustomerGateway.Builder |
deviceName(String deviceName)
The name of customer gateway device.
|
CustomerGateway.Builder |
ipAddress(String ipAddress)
The IP address of the customer gateway device'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). |
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 IP address of the customer gateway device's outside interface.
ipAddress - The IP address of the customer gateway device's outside interface.CustomerGateway.Builder certificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the customer gateway certificate.
certificateArn - The Amazon Resource Name (ARN) for the customer gateway certificate.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 deviceName(String deviceName)
The name of customer gateway device.
deviceName - The name of customer gateway device.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 method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.