CopyableBuilder<CreateVpcEndpointRequest.Builder,CreateVpcEndpointRequest>
, SdkBuilder<CreateVpcEndpointRequest.Builder,CreateVpcEndpointRequest>
public static interface CreateVpcEndpointRequest.Builder extends CopyableBuilder<CreateVpcEndpointRequest.Builder,CreateVpcEndpointRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateVpcEndpointRequest.Builder |
clientToken(String clientToken) |
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateVpcEndpointRequest.Builder |
policyDocument(String policyDocument) |
A policy to attach to the endpoint that controls access to the service.
|
CreateVpcEndpointRequest.Builder |
routeTableIds(String... routeTableIds) |
One or more route table IDs.
|
CreateVpcEndpointRequest.Builder |
routeTableIds(Collection<String> routeTableIds) |
One or more route table IDs.
|
CreateVpcEndpointRequest.Builder |
serviceName(String serviceName) |
The AWS service name, in the form
com.amazonaws.region.service . |
CreateVpcEndpointRequest.Builder |
vpcId(String vpcId) |
The ID of the VPC in which the endpoint will be used.
|
copy
apply, build
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 policyDocument(String policyDocument)
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
- 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)
One or more route table IDs.
routeTableIds
- One or more route table IDs.CreateVpcEndpointRequest.Builder routeTableIds(String... routeTableIds)
One or more route table IDs.
NOTE: This method appends the values to the existing list (if any). Use
#setRouteTableIds(java.util.Collection)
or #withRouteTableIds(java.util.Collection)
if you
want to override the existing values.
routeTableIds
- One or more route table IDs.CreateVpcEndpointRequest.Builder serviceName(String serviceName)
The AWS service name, in the form com.amazonaws.region.service
. To get a list of
available services, use the DescribeVpcEndpointServices request.
serviceName
- The AWS service name, in the form com.amazonaws.region.service
. To get a
list of available services, use the DescribeVpcEndpointServices request.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.