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 ModifyVpcEndpointRequestclone()Creates a shallow clone of this request.booleanequals(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.StringgetPolicyDocument()A policy document to attach to the endpoint.List<String>getRemoveRouteTableIds()One or more route table IDs to disassociate from the endpoint.BooleangetResetPolicy()Specifytrueto reset the policy document to the default policy.StringgetVpcEndpointId()The ID of the endpoint.inthashCode()BooleanisResetPolicy()Specifytrueto reset the policy document to the default policy.voidsetAddRouteTableIds(Collection<String> addRouteTableIds)One or more route tables IDs to associate with the endpoint.voidsetPolicyDocument(String policyDocument)A policy document to attach to the endpoint.voidsetRemoveRouteTableIds(Collection<String> removeRouteTableIds)One or more route table IDs to disassociate from the endpoint.voidsetResetPolicy(Boolean resetPolicy)Specifytrueto reset the policy document to the default policy.voidsetVpcEndpointId(String vpcEndpointId)The ID of the endpoint.StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyVpcEndpointRequestwithAddRouteTableIds(String... addRouteTableIds)One or more route tables IDs to associate with the endpoint.ModifyVpcEndpointRequestwithAddRouteTableIds(Collection<String> addRouteTableIds)One or more route tables IDs to associate with the endpoint.ModifyVpcEndpointRequestwithPolicyDocument(String policyDocument)A policy document to attach to the endpoint.ModifyVpcEndpointRequestwithRemoveRouteTableIds(String... removeRouteTableIds)One or more route table IDs to disassociate from the endpoint.ModifyVpcEndpointRequestwithRemoveRouteTableIds(Collection<String> removeRouteTableIds)One or more route table IDs to disassociate from the endpoint.ModifyVpcEndpointRequestwithResetPolicy(Boolean resetPolicy)Specifytrueto reset the policy document to the default policy.ModifyVpcEndpointRequestwithVpcEndpointId(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
trueto reset the policy document to the default policy. The default policy allows access to the service.- Parameters:
resetPolicy- Specifytrueto reset the policy document to the default policy. The default policy allows access to the service.
-
getResetPolicy
public Boolean getResetPolicy()
Specify
trueto reset the policy document to the default policy. The default policy allows access to the service.- Returns:
- Specify
trueto reset the policy document to the default policy. The default policy allows access to the service.
-
withResetPolicy
public ModifyVpcEndpointRequest withResetPolicy(Boolean resetPolicy)
Specify
trueto reset the policy document to the default policy. The default policy allows access to the service.- Parameters:
resetPolicy- Specifytrueto 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
trueto reset the policy document to the default policy. The default policy allows access to the service.- Returns:
- Specify
trueto 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:
getDryRunRequestin interfaceDryRunSupportedRequest<ModifyVpcEndpointRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyVpcEndpointRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-