@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcEndpointRequest>
Contains the parameters for ModifyVpcEndpoint.
NOOP
Constructor and Description |
---|
ModifyVpcEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
Specify
true to reset the policy document to the default policy. |
String |
getVpcEndpointId()
The ID of the endpoint.
|
int |
hashCode() |
Boolean |
isResetPolicy()
Specify
true 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)
Specify
true 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(Collection<String> addRouteTableIds)
One or more route tables IDs to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withAddRouteTableIds(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(Collection<String> removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(String... removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withResetPolicy(Boolean resetPolicy)
Specify
true to reset the policy document to the default policy. |
ModifyVpcEndpointRequest |
withVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAddRouteTableIds()
One or more route tables IDs to associate with the endpoint.
public void setAddRouteTableIds(Collection<String> addRouteTableIds)
One or more route tables IDs to associate with the endpoint.
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.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)
or withAddRouteTableIds(java.util.Collection)
if you
want to override the existing values.
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(Collection<String> addRouteTableIds)
One or more route tables IDs to associate with the endpoint.
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.public void setPolicyDocument(String policyDocument)
A policy document to attach to the endpoint. The policy must be in valid JSON format.
policyDocument
- A policy document to attach to the endpoint. The policy must be in valid JSON format.public String getPolicyDocument()
A policy document to attach to the endpoint. The policy must be in valid JSON format.
public ModifyVpcEndpointRequest withPolicyDocument(String policyDocument)
A policy document to attach to the endpoint. The policy must be in valid JSON format.
policyDocument
- A policy document to attach to the endpoint. The policy must be in valid JSON format.public List<String> getRemoveRouteTableIds()
One or more route table IDs to disassociate from the endpoint.
public void setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.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)
or withRemoveRouteTableIds(java.util.Collection)
if you want to override the existing values.
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.public void setResetPolicy(Boolean resetPolicy)
Specify true
to reset the policy document to the default policy. The default policy allows access to
the service.
resetPolicy
- Specify true
to reset the policy document to the default policy. The default policy allows
access to the service.public Boolean getResetPolicy()
Specify true
to reset the policy document to the default policy. The default policy allows access to
the service.
true
to reset the policy document to the default policy. The default policy allows
access to the service.public ModifyVpcEndpointRequest withResetPolicy(Boolean resetPolicy)
Specify true
to reset the policy document to the default policy. The default policy allows access to
the service.
resetPolicy
- Specify true
to reset the policy document to the default policy. The default policy allows
access to the service.public Boolean isResetPolicy()
Specify true
to reset the policy document to the default policy. The default policy allows access to
the service.
true
to reset the policy document to the default policy. The default policy allows
access to the service.public void setVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.public String getVpcEndpointId()
The ID of the endpoint.
public ModifyVpcEndpointRequest withVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.public Request<ModifyVpcEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVpcEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.