public class ModifyVpcEndpointRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<ModifyVpcEndpointRequest>
Contains the parameters for ModifyVpcEndpoint.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
addRouteTableIds
One or more route tables IDs to associate with the endpoint.
|
private java.lang.String |
policyDocument
A policy document to attach to the endpoint.
|
private SdkInternalList<java.lang.String> |
removeRouteTableIds
One or more route table IDs to disassociate from the endpoint.
|
private java.lang.Boolean |
resetPolicy
Specify
true to reset the policy document to the default
policy. |
private java.lang.String |
vpcEndpointId
The ID of the endpoint.
|
NOOP
Constructor and Description |
---|
ModifyVpcEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcEndpointRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
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
private java.lang.String vpcEndpointId
The ID of the endpoint.
private java.lang.Boolean resetPolicy
Specify true
to reset the policy document to the default
policy. The default policy allows access to the service.
private java.lang.String policyDocument
A policy document to attach to the endpoint. The policy must be in valid JSON format.
private SdkInternalList<java.lang.String> addRouteTableIds
One or more route tables IDs to associate with the endpoint.
private SdkInternalList<java.lang.String> removeRouteTableIds
One or more route table IDs to disassociate from the endpoint.
public void setVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.public java.lang.String getVpcEndpointId()
The ID of the endpoint.
public ModifyVpcEndpointRequest withVpcEndpointId(java.lang.String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.public void setResetPolicy(java.lang.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 java.lang.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(java.lang.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 java.lang.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 setPolicyDocument(java.lang.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 java.lang.String getPolicyDocument()
A policy document to attach to the endpoint. The policy must be in valid JSON format.
public ModifyVpcEndpointRequest withPolicyDocument(java.lang.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 java.util.List<java.lang.String> getAddRouteTableIds()
One or more route tables IDs to associate with the endpoint.
public void setAddRouteTableIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.String> getRemoveRouteTableIds()
One or more route table IDs to disassociate from the endpoint.
public void setRemoveRouteTableIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 Request<ModifyVpcEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcEndpointRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyVpcEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()