public class ModifyVpcEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcEndpointRequest>
ModifyVpcEndpoint operation
.
Modifies attributes of a specified VPC endpoint. You can modify the policy associated with the endpoint, and you can add and remove route tables associated with the endpoint.
NOOP
Constructor and Description |
---|
ModifyVpcEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcEndpointRequest |
clone() |
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.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getVpcEndpointId()
public void setVpcEndpointId(String vpcEndpointId)
vpcEndpointId
- The ID of the endpoint.public ModifyVpcEndpointRequest withVpcEndpointId(String vpcEndpointId)
Returns a reference to this object so that method calls can be chained together.
vpcEndpointId
- The ID of the endpoint.public Boolean isResetPolicy()
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 setResetPolicy(Boolean resetPolicy)
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 ModifyVpcEndpointRequest withResetPolicy(Boolean resetPolicy)
true
to reset the policy document to the default
policy. The default policy allows access to the service.
Returns a reference to this object so that method calls can be chained together.
resetPolicy
- Specify true
to reset the policy document to the default
policy. The default policy allows access to the service.public Boolean getResetPolicy()
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 String getPolicyDocument()
public void setPolicyDocument(String policyDocument)
policyDocument
- A policy document to attach to the endpoint. The policy must be in
valid JSON format.public ModifyVpcEndpointRequest withPolicyDocument(String policyDocument)
Returns a reference to this object so that method calls can be chained together.
policyDocument
- A policy document to attach to the endpoint. The policy must be in
valid JSON format.public List<String> getAddRouteTableIds()
public void setAddRouteTableIds(Collection<String> addRouteTableIds)
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(String... addRouteTableIds)
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.
Returns a reference to this object so that method calls can be chained together.
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(Collection<String> addRouteTableIds)
Returns a reference to this object so that method calls can be chained together.
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.public List<String> getRemoveRouteTableIds()
public void setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(String... removeRouteTableIds)
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.
Returns a reference to this object so that method calls can be chained together.
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
Returns a reference to this object so that method calls can be chained together.
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.public Request<ModifyVpcEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVpcEndpointRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.