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 |
ipAddress(String ipAddress)
IPv4 address for the customer gateway device's outside interface.
|
CreateCustomerGatewayRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCustomerGatewayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCustomerGatewayRequest.Builder |
publicIp(String publicIp)
This member has been deprecated. 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)
This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
publicIp - This member has been deprecated. 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 theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) 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 ipAddress(String ipAddress)
IPv4 address for the customer gateway device's outside interface. The address must be static.
ipAddress - IPv4 address for the customer gateway device's outside interface. The address must be static.CreateCustomerGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCustomerGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.