public static interface CreateCustomerGatewayRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateCustomerGatewayRequest.Builder,CreateCustomerGatewayRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCustomerGatewayRequest.Builder |
bgpAsn(Integer bgpAsn)
For devices that support BGP, the customer gateway's BGP ASN.
|
CreateCustomerGatewayRequest.Builder |
certificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the customer gateway certificate.
|
CreateCustomerGatewayRequest.Builder |
deviceName(String deviceName)
A name for the customer gateway device.
|
CreateCustomerGatewayRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCustomerGatewayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCustomerGatewayRequest.Builder |
publicIp(String publicIp)
The Internet-routable IP address for the customer gateway's outside interface.
|
CreateCustomerGatewayRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the customer gateway.
|
CreateCustomerGatewayRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the customer gateway.
|
CreateCustomerGatewayRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the customer gateway.
|
CreateCustomerGatewayRequest.Builder |
type(GatewayType type)
The type of VPN connection that this customer gateway supports (
ipsec.1). |
CreateCustomerGatewayRequest.Builder |
type(String type)
The type of VPN connection that this customer gateway supports (
ipsec.1). |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCustomerGatewayRequest.Builder bgpAsn(Integer bgpAsn)
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
bgpAsn - For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
CreateCustomerGatewayRequest.Builder publicIp(String publicIp)
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
publicIp - The Internet-routable IP address for the customer gateway's outside interface. The address must be
static.CreateCustomerGatewayRequest.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.CreateCustomerGatewayRequest.Builder type(String type)
The type of VPN connection that this customer gateway supports (ipsec.1).
type - The type of VPN connection that this customer gateway supports (ipsec.1).GatewayType,
GatewayTypeCreateCustomerGatewayRequest.Builder type(GatewayType type)
The type of VPN connection that this customer gateway supports (ipsec.1).
type - The type of VPN connection that this customer gateway supports (ipsec.1).GatewayType,
GatewayTypeCreateCustomerGatewayRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the customer gateway.
tagSpecifications - The tags to apply to the customer gateway.CreateCustomerGatewayRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the customer gateway.
tagSpecifications - The tags to apply to the customer gateway.CreateCustomerGatewayRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the customer gateway.
This is a convenience method 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 #tagSpecifications(List) .tagSpecifications - a consumer that will call methods on List.Builder #tagSpecifications(List) CreateCustomerGatewayRequest.Builder deviceName(String deviceName)
A name for the customer gateway device.
Length Constraints: Up to 255 characters.
deviceName - A name for the customer gateway device.
Length Constraints: Up to 255 characters.
CreateCustomerGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCustomerGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.