Class ModifyVpcEndpointRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<ModifyVpcEndpointRequest>
,Serializable
,Cloneable
Contains the parameters for ModifyVpcEndpoint.
- 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
One or more route tables IDs to associate with the endpoint.This method is intended for internal use only.A policy document to attach to the endpoint.One or more route table IDs to disassociate from the endpoint.Specifytrue
to reset the policy document to the default policy.The ID of the endpoint.int
hashCode()
Specifytrue
to reset the policy document to the default policy.void
setAddRouteTableIds
(Collection<String> addRouteTableIds) One or more route tables IDs to associate with the endpoint.void
setPolicyDocument
(String policyDocument) A policy document to attach to the endpoint.void
setRemoveRouteTableIds
(Collection<String> removeRouteTableIds) One or more route table IDs to disassociate from the endpoint.void
setResetPolicy
(Boolean resetPolicy) Specifytrue
to reset the policy document to the default policy.void
setVpcEndpointId
(String vpcEndpointId) The ID of the endpoint.toString()
Returns a string representation of this object; useful for testing and debugging.withAddRouteTableIds
(String... addRouteTableIds) One or more route tables IDs to associate with the endpoint.withAddRouteTableIds
(Collection<String> addRouteTableIds) One or more route tables IDs to associate with the endpoint.withPolicyDocument
(String policyDocument) A policy document to attach to the endpoint.withRemoveRouteTableIds
(String... removeRouteTableIds) One or more route table IDs to disassociate from the endpoint.withRemoveRouteTableIds
(Collection<String> removeRouteTableIds) One or more route table IDs to disassociate from the endpoint.withResetPolicy
(Boolean resetPolicy) Specifytrue
to reset the policy document to the default policy.withVpcEndpointId
(String vpcEndpointId) The ID of the endpoint.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
-
ModifyVpcEndpointRequest
public ModifyVpcEndpointRequest()
-
-
Method Details
-
setVpcEndpointId
The ID of the endpoint.
- Parameters:
vpcEndpointId
- The ID of the endpoint.
-
getVpcEndpointId
The ID of the endpoint.
- Returns:
- The ID of the endpoint.
-
withVpcEndpointId
The ID of the endpoint.
- Parameters:
vpcEndpointId
- The ID of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResetPolicy
Specify
true
to reset the policy document to the default policy. The default policy allows access to the service.- Parameters:
resetPolicy
- Specifytrue
to reset the policy document to the default policy. The default policy allows access to the service.
-
getResetPolicy
Specify
true
to reset the policy document to the default policy. The default policy allows access to the service.- Returns:
- Specify
true
to reset the policy document to the default policy. The default policy allows access to the service.
-
withResetPolicy
Specify
true
to reset the policy document to the default policy. The default policy allows access to the service.- Parameters:
resetPolicy
- Specifytrue
to reset the policy document to the default policy. The default policy allows access to the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isResetPolicy
Specify
true
to reset the policy document to the default policy. The default policy allows access to the service.- Returns:
- Specify
true
to reset the policy document to the default policy. The default policy allows access to the service.
-
setPolicyDocument
A policy document to attach to the endpoint. The policy must be in valid JSON format.
- Parameters:
policyDocument
- A policy document to attach to the endpoint. The policy must be in valid JSON format.
-
getPolicyDocument
A policy document to attach to the endpoint. The policy must be in valid JSON format.
- Returns:
- A policy document to attach to the endpoint. The policy must be in valid JSON format.
-
withPolicyDocument
A policy document to attach to the endpoint. The policy must be in valid JSON format.
- Parameters:
policyDocument
- A policy document to attach to the endpoint. The policy must be in valid JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAddRouteTableIds
One or more route tables IDs to associate with the endpoint.
- Returns:
- One or more route tables IDs to associate with the endpoint.
-
setAddRouteTableIds
One or more route tables IDs to associate with the endpoint.
- Parameters:
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.
-
withAddRouteTableIds
One or more route tables IDs to associate with the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setAddRouteTableIds(java.util.Collection)
orwithAddRouteTableIds(java.util.Collection)
if you want to override the existing values.- Parameters:
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAddRouteTableIds
One or more route tables IDs to associate with the endpoint.
- Parameters:
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRemoveRouteTableIds
One or more route table IDs to disassociate from the endpoint.
- Returns:
- One or more route table IDs to disassociate from the endpoint.
-
setRemoveRouteTableIds
One or more route table IDs to disassociate from the endpoint.
- Parameters:
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.
-
withRemoveRouteTableIds
One or more route table IDs to disassociate from the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveRouteTableIds(java.util.Collection)
orwithRemoveRouteTableIds(java.util.Collection)
if you want to override the existing values.- Parameters:
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRemoveRouteTableIds
One or more route table IDs to disassociate from the endpoint.
- Parameters:
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.- 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<ModifyVpcEndpointRequest>
-
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:
-