public class ModifyVpcEndpointRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
Constructor and Description |
---|
ModifyVpcEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAddRouteTableIds()
One or more route tables IDs to associate with the endpoint.
|
Request<ModifyVpcEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getPolicyDocument()
A policy document to attach to the endpoint.
|
java.util.List<java.lang.String> |
getRemoveRouteTableIds()
One or more route table IDs to disassociate from the endpoint.
|
java.lang.Boolean |
getResetPolicy()
Specify
true to reset the policy document to the default
policy. |
java.lang.String |
getVpcEndpointId()
The ID of the endpoint.
|
int |
hashCode() |
java.lang.Boolean |
isResetPolicy()
Specify
true to reset the policy document to the default
policy. |
void |
setAddRouteTableIds(java.util.Collection<java.lang.String> addRouteTableIds)
One or more route tables IDs to associate with the endpoint.
|
void |
setPolicyDocument(java.lang.String policyDocument)
A policy document to attach to the endpoint.
|
void |
setRemoveRouteTableIds(java.util.Collection<java.lang.String> removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
|
void |
setResetPolicy(java.lang.Boolean resetPolicy)
Specify
true to reset the policy document to the default
policy. |
void |
setVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the endpoint.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyVpcEndpointRequest |
withAddRouteTableIds(java.util.Collection<java.lang.String> addRouteTableIds)
One or more route tables IDs to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withAddRouteTableIds(java.lang.String... addRouteTableIds)
One or more route tables IDs to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withPolicyDocument(java.lang.String policyDocument)
A policy document to attach to the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(java.util.Collection<java.lang.String> removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(java.lang.String... removeRouteTableIds)
One or more route table IDs to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withResetPolicy(java.lang.Boolean resetPolicy)
Specify
true to reset the policy document to the default
policy. |
ModifyVpcEndpointRequest |
withVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the endpoint.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getVpcEndpointId()
public void setVpcEndpointId(java.lang.String vpcEndpointId)
vpcEndpointId
- The ID of the endpoint.public ModifyVpcEndpointRequest withVpcEndpointId(java.lang.String vpcEndpointId)
Returns a reference to this object so that method calls can be chained together.
vpcEndpointId
- The ID of the endpoint.public java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String getPolicyDocument()
public void setPolicyDocument(java.lang.String policyDocument)
policyDocument
- A policy document to attach to the endpoint. The policy must be in
valid JSON format.public ModifyVpcEndpointRequest withPolicyDocument(java.lang.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 java.util.List<java.lang.String> getAddRouteTableIds()
public void setAddRouteTableIds(java.util.Collection<java.lang.String> addRouteTableIds)
addRouteTableIds
- One or more route tables IDs to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(java.lang.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 ModifyVpcEndpointRequest withAddRouteTableIds(java.util.Collection<java.lang.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 java.util.List<java.lang.String> getRemoveRouteTableIds()
public void setRemoveRouteTableIds(java.util.Collection<java.lang.String> removeRouteTableIds)
removeRouteTableIds
- One or more route table IDs to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(java.lang.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 ModifyVpcEndpointRequest withRemoveRouteTableIds(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.