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 that you provide to ensure the idempotency of the request.
|
default CreateVpcEndpointRequest.Builder |
dnsOptions(Consumer<DnsOptionsSpecification.Builder> dnsOptions)
The DNS options for the endpoint.
|
CreateVpcEndpointRequest.Builder |
dnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.
|
CreateVpcEndpointRequest.Builder |
ipAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
|
CreateVpcEndpointRequest.Builder |
ipAddressType(String ipAddressType)
The IP address type for the endpoint.
|
CreateVpcEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateVpcEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateVpcEndpointRequest.Builder |
policyDocument(String policyDocument)
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
|
CreateVpcEndpointRequest.Builder |
privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC.
|
CreateVpcEndpointRequest.Builder |
routeTableIds(Collection<String> routeTableIds)
(Gateway endpoint) The route table IDs.
|
CreateVpcEndpointRequest.Builder |
routeTableIds(String... routeTableIds)
(Gateway endpoint) The route table IDs.
|
CreateVpcEndpointRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interface.
|
CreateVpcEndpointRequest.Builder |
securityGroupIds(String... securityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interface.
|
CreateVpcEndpointRequest.Builder |
serviceName(String serviceName)
The name of the endpoint service.
|
CreateVpcEndpointRequest.Builder |
subnetIds(Collection<String> subnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint network
interface.
|
CreateVpcEndpointRequest.Builder |
subnetIds(String... subnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint network
interface.
|
CreateVpcEndpointRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the endpoint.
|
CreateVpcEndpointRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to associate with the endpoint.
|
CreateVpcEndpointRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to associate with the endpoint.
|
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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
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.
vpcId
- The ID of the VPC.CreateVpcEndpointRequest.Builder serviceName(String serviceName)
The name of the endpoint service.
serviceName
- The name of the endpoint service.CreateVpcEndpointRequest.Builder policyDocument(String policyDocument)
(Interface and gateway endpoints) 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
- (Interface and gateway endpoints) 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) The route table IDs.
routeTableIds
- (Gateway endpoint) The route table IDs.CreateVpcEndpointRequest.Builder routeTableIds(String... routeTableIds)
(Gateway endpoint) The route table IDs.
routeTableIds
- (Gateway endpoint) The route table IDs.CreateVpcEndpointRequest.Builder subnetIds(Collection<String> subnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint network interface. For a Gateway Load Balancer endpoint, you can specify only one subnet.
subnetIds
- (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint
network interface. For a Gateway Load Balancer endpoint, you can specify only one subnet.CreateVpcEndpointRequest.Builder subnetIds(String... subnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint network interface. For a Gateway Load Balancer endpoint, you can specify only one subnet.
subnetIds
- (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint
network interface. For a Gateway Load Balancer endpoint, you can specify only one subnet.CreateVpcEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interface. If this parameter is not specified, we use the default security group for the VPC.
securityGroupIds
- (Interface endpoint) The IDs of the security groups to associate with the endpoint network interface.
If this parameter is not specified, we use the default security group for the VPC.CreateVpcEndpointRequest.Builder securityGroupIds(String... securityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interface. If this parameter is not specified, we use the default security group for the VPC.
securityGroupIds
- (Interface endpoint) The IDs of the security groups to associate with the endpoint network interface.
If this parameter is not specified, we use the default security group for the VPC.CreateVpcEndpointRequest.Builder ipAddressType(String ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
,
IpAddressType
CreateVpcEndpointRequest.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
,
IpAddressType
CreateVpcEndpointRequest.Builder dnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.
dnsOptions
- The DNS options for the endpoint.default CreateVpcEndpointRequest.Builder dnsOptions(Consumer<DnsOptionsSpecification.Builder> dnsOptions)
The DNS options for the endpoint.
This is a convenience method that creates an instance of theDnsOptionsSpecification.Builder
avoiding
the need to create one manually via DnsOptionsSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to dnsOptions(DnsOptionsSpecification)
.
dnsOptions
- a consumer that will call methods on DnsOptionsSpecification.Builder
dnsOptions(DnsOptionsSpecification)
CreateVpcEndpointRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.CreateVpcEndpointRequest.Builder privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates 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: true
privateDnsEnabled
- (Interface endpoint) Indicates 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: true
CreateVpcEndpointRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the endpoint.
tagSpecifications
- The tags to associate with the endpoint.CreateVpcEndpointRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to associate with the endpoint.
tagSpecifications
- The tags to associate with the endpoint.CreateVpcEndpointRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to associate with the endpoint.
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)
CreateVpcEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateVpcEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.