Class CreateVpcEndpointRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CreateVpcEndpointRequest>
,Serializable
,Cloneable
Contains the parameters for CreateVpcEndpoint.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.This method is intended for internal use only.A policy to attach to the endpoint that controls access to the service.One or more route table IDs.The AWS service name, in the formcom.amazonaws.region.service
.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 formcom.amazonaws.region.service
.void
The ID of the VPC in which the endpoint will be used.toString()
Returns a string representation of this object; useful for testing and debugging.withClientToken
(String clientToken) Unique, case-sensitive identifier you provide to ensure the idempotency of the request.withPolicyDocument
(String policyDocument) A policy to attach to the endpoint that controls access to the service.withRouteTableIds
(String... routeTableIds) One or more route table IDs.withRouteTableIds
(Collection<String> routeTableIds) One or more route table IDs.withServiceName
(String serviceName) The AWS service name, in the formcom.amazonaws.region.service
.The ID of the VPC in which the endpoint will be used.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateVpcEndpointRequest
public CreateVpcEndpointRequest()
-
-
Method Details
-
setVpcId
The ID of the VPC in which the endpoint will be used.
- Parameters:
vpcId
- The ID of the VPC in which the endpoint will be used.
-
getVpcId
The ID of the VPC in which the endpoint will be used.
- Returns:
- The ID of the VPC in which the endpoint will be used.
-
withVpcId
The ID of the VPC in which the endpoint will be used.
- Parameters:
vpcId
- The ID of the VPC in which the endpoint will be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceName
The AWS service name, in the form
com.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.- Parameters:
serviceName
- The AWS service name, in the formcom.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.
-
getServiceName
The AWS service name, in the form
com.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.- Returns:
- The AWS service name, in the form
com.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.
-
withServiceName
The AWS service name, in the form
com.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.- Parameters:
serviceName
- The AWS service name, in the formcom.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyDocument
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withPolicyDocument
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRouteTableIds
One or more route table IDs.
- Returns:
- One or more route table IDs.
-
setRouteTableIds
One or more route table IDs.
- Parameters:
routeTableIds
- One or more route table IDs.
-
withRouteTableIds
One or more route table IDs.
NOTE: This method appends the values to the existing list (if any). Use
setRouteTableIds(java.util.Collection)
orwithRouteTableIds(java.util.Collection)
if you want to override the existing values.- Parameters:
routeTableIds
- One or more route table IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRouteTableIds
One or more route table IDs.
- Parameters:
routeTableIds
- One or more route table IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientToken
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
-
getClientToken
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
- Returns:
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
-
withClientToken
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<CreateVpcEndpointRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-