@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()
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
|
List<String> |
getAddSecurityGroupIds()
(Interface endpoint) One or more security group IDs to associate with the network interface.
|
List<String> |
getAddSubnetIds()
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
|
Request<ModifyVpcEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPolicyDocument()
(Gateway endpoint) A policy document to attach to the endpoint.
|
Boolean |
getPrivateDnsEnabled()
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
|
List<String> |
getRemoveRouteTableIds()
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
|
List<String> |
getRemoveSecurityGroupIds()
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
|
List<String> |
getRemoveSubnetIds()
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
|
Boolean |
getResetPolicy()
(Gateway endpoint) Specify
true to reset the policy document to the default policy. |
String |
getVpcEndpointId()
The ID of the endpoint.
|
int |
hashCode() |
Boolean |
isPrivateDnsEnabled()
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
|
Boolean |
isResetPolicy()
(Gateway endpoint) Specify
true to reset the policy document to the default policy. |
void |
setAddRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
|
void |
setAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) One or more security group IDs to associate with the network interface.
|
void |
setAddSubnetIds(Collection<String> addSubnetIds)
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
|
void |
setPolicyDocument(String policyDocument)
(Gateway endpoint) A policy document to attach to the endpoint.
|
void |
setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
|
void |
setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
|
void |
setRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
|
void |
setRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
|
void |
setResetPolicy(Boolean resetPolicy)
(Gateway endpoint) 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)
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withAddRouteTableIds(String... addRouteTableIds)
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) One or more security group IDs to associate with the network interface.
|
ModifyVpcEndpointRequest |
withAddSecurityGroupIds(String... addSecurityGroupIds)
(Interface endpoint) One or more security group IDs to associate with the network interface.
|
ModifyVpcEndpointRequest |
withAddSubnetIds(Collection<String> addSubnetIds)
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
|
ModifyVpcEndpointRequest |
withAddSubnetIds(String... addSubnetIds)
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
|
ModifyVpcEndpointRequest |
withPolicyDocument(String policyDocument)
(Gateway endpoint) A policy document to attach to the endpoint.
|
ModifyVpcEndpointRequest |
withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(String... removeRouteTableIds)
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
|
ModifyVpcEndpointRequest |
withRemoveSecurityGroupIds(String... removeSecurityGroupIds)
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
|
ModifyVpcEndpointRequest |
withRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveSubnetIds(String... removeSubnetIds)
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
|
ModifyVpcEndpointRequest |
withResetPolicy(Boolean resetPolicy)
(Gateway endpoint) 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 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 void setResetPolicy(Boolean resetPolicy)
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default
policy allows full access to the service.
resetPolicy
- (Gateway endpoint) Specify true
to reset the policy document to the default policy. The
default policy allows full access to the service.public Boolean getResetPolicy()
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default
policy allows full access to the service.
true
to reset the policy document to the default policy. The
default policy allows full access to the service.public ModifyVpcEndpointRequest withResetPolicy(Boolean resetPolicy)
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default
policy allows full access to the service.
resetPolicy
- (Gateway endpoint) Specify true
to reset the policy document to the default policy. The
default policy allows full access to the service.public Boolean isResetPolicy()
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default
policy allows full access to the service.
true
to reset the policy document to the default policy. The
default policy allows full access to the service.public void setPolicyDocument(String policyDocument)
(Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.
policyDocument
- (Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.public String getPolicyDocument()
(Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.
public ModifyVpcEndpointRequest withPolicyDocument(String policyDocument)
(Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.
policyDocument
- (Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.public List<String> getAddRouteTableIds()
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
public void setAddRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
addRouteTableIds
- (Gateway endpoint) One or more route tables IDs to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(String... addRouteTableIds)
(Gateway endpoint) 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
- (Gateway endpoint) One or more route tables IDs to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
addRouteTableIds
- (Gateway endpoint) One or more route tables IDs to associate with the endpoint.public List<String> getRemoveRouteTableIds()
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
public void setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
removeRouteTableIds
- (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(String... removeRouteTableIds)
(Gateway endpoint) 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
- (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
removeRouteTableIds
- (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.public List<String> getAddSubnetIds()
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
public void setAddSubnetIds(Collection<String> addSubnetIds)
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
addSubnetIds
- (Interface endpoint) One or more subnet IDs in which to serve the endpoint.public ModifyVpcEndpointRequest withAddSubnetIds(String... addSubnetIds)
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setAddSubnetIds(java.util.Collection)
or withAddSubnetIds(java.util.Collection)
if you want to
override the existing values.
addSubnetIds
- (Interface endpoint) One or more subnet IDs in which to serve the endpoint.public ModifyVpcEndpointRequest withAddSubnetIds(Collection<String> addSubnetIds)
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
addSubnetIds
- (Interface endpoint) One or more subnet IDs in which to serve the endpoint.public List<String> getRemoveSubnetIds()
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
public void setRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
removeSubnetIds
- (Interface endpoint) One or more subnets IDs in which to remove the endpoint.public ModifyVpcEndpointRequest withRemoveSubnetIds(String... removeSubnetIds)
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveSubnetIds(java.util.Collection)
or withRemoveSubnetIds(java.util.Collection)
if you
want to override the existing values.
removeSubnetIds
- (Interface endpoint) One or more subnets IDs in which to remove the endpoint.public ModifyVpcEndpointRequest withRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
removeSubnetIds
- (Interface endpoint) One or more subnets IDs in which to remove the endpoint.public List<String> getAddSecurityGroupIds()
(Interface endpoint) One or more security group IDs to associate with the network interface.
public void setAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) One or more security group IDs to associate with the network interface.
addSecurityGroupIds
- (Interface endpoint) One or more security group IDs to associate with the network interface.public ModifyVpcEndpointRequest withAddSecurityGroupIds(String... addSecurityGroupIds)
(Interface endpoint) One or more security group IDs to associate with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setAddSecurityGroupIds(java.util.Collection)
or withAddSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
addSecurityGroupIds
- (Interface endpoint) One or more security group IDs to associate with the network interface.public ModifyVpcEndpointRequest withAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) One or more security group IDs to associate with the network interface.
addSecurityGroupIds
- (Interface endpoint) One or more security group IDs to associate with the network interface.public List<String> getRemoveSecurityGroupIds()
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
public void setRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
removeSecurityGroupIds
- (Interface endpoint) One or more security group IDs to disassociate from the network interface.public ModifyVpcEndpointRequest withRemoveSecurityGroupIds(String... removeSecurityGroupIds)
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveSecurityGroupIds(java.util.Collection)
or
withRemoveSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
removeSecurityGroupIds
- (Interface endpoint) One or more security group IDs to disassociate from the network interface.public ModifyVpcEndpointRequest withRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
removeSecurityGroupIds
- (Interface endpoint) One or more security group IDs to disassociate from the network interface.public void setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
privateDnsEnabled
- (Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.public Boolean getPrivateDnsEnabled()
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
public ModifyVpcEndpointRequest withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
privateDnsEnabled
- (Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.public Boolean isPrivateDnsEnabled()
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
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.