Class ModifyVpcEndpointRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.ModifyVpcEndpointRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<ModifyVpcEndpointRequest>
,Serializable
,Cloneable
public class ModifyVpcEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcEndpointRequest>
Contains the parameters for ModifyVpcEndpoint.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyVpcEndpointRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyVpcEndpointRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getAddRouteTableIds()
One or more route tables IDs to associate with the endpoint.Request<ModifyVpcEndpointRequest>
getDryRunRequest()
This method is intended for internal use only.String
getPolicyDocument()
A policy document to attach to the endpoint.List<String>
getRemoveRouteTableIds()
One or more route table IDs to disassociate from the endpoint.Boolean
getResetPolicy()
Specifytrue
to reset the policy document to the default policy.String
getVpcEndpointId()
The ID of the endpoint.int
hashCode()
Boolean
isResetPolicy()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyVpcEndpointRequest
withAddRouteTableIds(String... addRouteTableIds)
One or more route tables IDs to associate with the endpoint.ModifyVpcEndpointRequest
withAddRouteTableIds(Collection<String> addRouteTableIds)
One or more route tables IDs to associate with the endpoint.ModifyVpcEndpointRequest
withPolicyDocument(String policyDocument)
A policy document to attach to the endpoint.ModifyVpcEndpointRequest
withRemoveRouteTableIds(String... removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.ModifyVpcEndpointRequest
withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.ModifyVpcEndpointRequest
withResetPolicy(Boolean resetPolicy)
Specifytrue
to reset the policy document to the default policy.ModifyVpcEndpointRequest
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
-
-
-
-
Method Detail
-
setVpcEndpointId
public void setVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
- Parameters:
vpcEndpointId
- The ID of the endpoint.
-
getVpcEndpointId
public String getVpcEndpointId()
The ID of the endpoint.
- Returns:
- The ID of the endpoint.
-
withVpcEndpointId
public ModifyVpcEndpointRequest withVpcEndpointId(String vpcEndpointId)
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
public void setResetPolicy(Boolean resetPolicy)
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
public Boolean 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
public ModifyVpcEndpointRequest withResetPolicy(Boolean resetPolicy)
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
public Boolean 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
public void setPolicyDocument(String policyDocument)
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
public String 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
public ModifyVpcEndpointRequest withPolicyDocument(String policyDocument)
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
public List<String> 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
public void setAddRouteTableIds(Collection<String> addRouteTableIds)
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
public ModifyVpcEndpointRequest withAddRouteTableIds(String... addRouteTableIds)
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
public ModifyVpcEndpointRequest withAddRouteTableIds(Collection<String> addRouteTableIds)
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
public List<String> 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
public void setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
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
public ModifyVpcEndpointRequest withRemoveRouteTableIds(String... removeRouteTableIds)
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
public ModifyVpcEndpointRequest withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
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
public Request<ModifyVpcEndpointRequest> 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyVpcEndpointRequest 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:
Object.clone()
-
-