public class CreateVpcEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcEndpointRequest>
NOOP
Constructor and Description |
---|
CreateVpcEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcEndpointRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency
of the request.
|
Request<CreateVpcEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPolicyDocument()
A policy to attach to the endpoint that controls access to the service.
|
List<String> |
getRouteTableIds()
One or more route table IDs.
|
String |
getServiceName()
The AWS service name, in the form
com.amazonaws.region.service . |
String |
getVpcId()
The ID of the VPC in which the endpoint will be used.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency
of the request.
|
void |
setPolicyDocument(String policyDocument)
A policy to attach to the endpoint that controls access to the service.
|
void |
setRouteTableIds(Collection<String> routeTableIds)
One or more route table IDs.
|
void |
setServiceName(String serviceName)
The AWS service name, in the form
com.amazonaws.region.service . |
void |
setVpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpcEndpointRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency
of the request.
|
CreateVpcEndpointRequest |
withPolicyDocument(String policyDocument)
A policy to attach to the endpoint that controls access to the service.
|
CreateVpcEndpointRequest |
withRouteTableIds(Collection<String> routeTableIds)
One or more route table IDs.
|
CreateVpcEndpointRequest |
withRouteTableIds(String... routeTableIds)
One or more route table IDs.
|
CreateVpcEndpointRequest |
withServiceName(String serviceName)
The AWS service name, in the form
com.amazonaws.region.service . |
CreateVpcEndpointRequest |
withVpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVpcId(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.public String getVpcId()
The ID of the VPC in which the endpoint will be used.
public CreateVpcEndpointRequest withVpcId(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.public void setServiceName(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.public String getServiceName()
The AWS service name, in the form
com.amazonaws.region.service
. To get a list of
available services, use the DescribeVpcEndpointServices request.
com.amazonaws.region.service
. To get a
list of available services, use the
DescribeVpcEndpointServices request.public CreateVpcEndpointRequest withServiceName(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.public void setPolicyDocument(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.public String getPolicyDocument()
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.
public CreateVpcEndpointRequest withPolicyDocument(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.public List<String> getRouteTableIds()
One or more route table IDs.
public void setRouteTableIds(Collection<String> routeTableIds)
One or more route table IDs.
routeTableIds
- One or more route table IDs.public CreateVpcEndpointRequest withRouteTableIds(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.public CreateVpcEndpointRequest withRouteTableIds(Collection<String> routeTableIds)
One or more route table IDs.
routeTableIds
- One or more route table IDs.public void setClientToken(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.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
public CreateVpcEndpointRequest withClientToken(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.public Request<CreateVpcEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpcEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateVpcEndpointRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.