public static interface CreateVpcEndpointRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateVpcEndpointRequest.Builder,CreateVpcEndpointRequest>
Modifier and Type | Method and Description |
---|---|
CreateVpcEndpointRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateVpcEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateVpcEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateVpcEndpointRequest.Builder |
policyDocument(String policyDocument)
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service.
|
CreateVpcEndpointRequest.Builder |
privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
|
CreateVpcEndpointRequest.Builder |
routeTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route table IDs.
|
CreateVpcEndpointRequest.Builder |
routeTableIds(String... routeTableIds)
(Gateway endpoint) One or more route table IDs.
|
CreateVpcEndpointRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
|
CreateVpcEndpointRequest.Builder |
securityGroupIds(String... securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
|
CreateVpcEndpointRequest.Builder |
serviceName(String serviceName)
The service name.
|
CreateVpcEndpointRequest.Builder |
subnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
|
CreateVpcEndpointRequest.Builder |
subnetIds(String... subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
|
CreateVpcEndpointRequest.Builder |
vpcEndpointType(String vpcEndpointType)
The type of endpoint.
|
CreateVpcEndpointRequest.Builder |
vpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
|
CreateVpcEndpointRequest.Builder |
vpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
|
build
overrideConfiguration
copy
applyMutation, build
CreateVpcEndpointRequest.Builder vpcEndpointType(String vpcEndpointType)
The type of endpoint.
Default: Gateway
vpcEndpointType
- The type of endpoint.
Default: Gateway
VpcEndpointType
,
VpcEndpointType
CreateVpcEndpointRequest.Builder vpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
Default: Gateway
vpcEndpointType
- The type of endpoint.
Default: Gateway
VpcEndpointType
,
VpcEndpointType
CreateVpcEndpointRequest.Builder vpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
vpcId
- The ID of the VPC in which the endpoint will be used.CreateVpcEndpointRequest.Builder serviceName(String serviceName)
The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.
serviceName
- The service name. To get a list of available services, use the DescribeVpcEndpointServices
request, or get the name from the service provider.CreateVpcEndpointRequest.Builder policyDocument(String policyDocument)
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
policyDocument
- (Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy
must be in valid JSON format. If this parameter is not specified, we attach a default policy that
allows full access to the service.CreateVpcEndpointRequest.Builder routeTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route table IDs.
routeTableIds
- (Gateway endpoint) One or more route table IDs.CreateVpcEndpointRequest.Builder routeTableIds(String... routeTableIds)
(Gateway endpoint) One or more route table IDs.
routeTableIds
- (Gateway endpoint) One or more route table IDs.CreateVpcEndpointRequest.Builder subnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.CreateVpcEndpointRequest.Builder subnetIds(String... subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.CreateVpcEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the endpoint network
interface.CreateVpcEndpointRequest.Builder securityGroupIds(String... securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the endpoint network
interface.CreateVpcEndpointRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to
Ensure Idempotency.CreateVpcEndpointRequest.Builder privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The private
hosted zone contains a record set for the default public DNS name for the service for the region (for
example, kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of the
endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for
the service instead of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set the
VPC attributes.
Default: false
privateDnsEnabled
- (Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The
private hosted zone contains a record set for the default public DNS name for the service for the
region (for example, kinesis.us-east-1.amazonaws.com
) which resolves to the private IP
addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the
default public DNS name for the service instead of the public DNS names that are automatically
generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to
set the VPC attributes.
Default: false
CreateVpcEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateVpcEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.