@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcEndpointRequest>
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) The IDs of the route tables to associate with the endpoint.
|
List<String> |
getAddSecurityGroupIds()
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
|
List<String> |
getAddSubnetIds()
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.
|
DnsOptionsSpecification |
getDnsOptions()
The DNS options for the endpoint.
|
Request<ModifyVpcEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getIpAddressType()
The IP address type for the endpoint.
|
String |
getPolicyDocument()
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
|
Boolean |
getPrivateDnsEnabled()
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
|
List<String> |
getRemoveRouteTableIds()
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
|
List<String> |
getRemoveSecurityGroupIds()
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
|
List<String> |
getRemoveSubnetIds()
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
|
Boolean |
getResetPolicy()
(Gateway endpoint) Specify
true to reset the policy document to the default policy. |
List<SubnetConfiguration> |
getSubnetConfigurations()
The subnet configurations for the endpoint.
|
String |
getVpcEndpointId()
The ID of the endpoint.
|
int |
hashCode() |
Boolean |
isPrivateDnsEnabled()
(Interface endpoint) Indicates 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) The IDs of the route tables to associate with the endpoint.
|
void |
setAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
|
void |
setAddSubnetIds(Collection<String> addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.
|
void |
setDnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.
|
void |
setIpAddressType(String ipAddressType)
The IP address type for the endpoint.
|
void |
setPolicyDocument(String policyDocument)
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
|
void |
setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
|
void |
setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
|
void |
setRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
|
void |
setRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
|
void |
setResetPolicy(Boolean resetPolicy)
(Gateway endpoint) Specify
true to reset the policy document to the default policy. |
void |
setSubnetConfigurations(Collection<SubnetConfiguration> subnetConfigurations)
The subnet configurations for the endpoint.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
ModifyVpcEndpointRequest |
withAddRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withAddRouteTableIds(String... addRouteTableIds)
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
|
ModifyVpcEndpointRequest |
withAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
|
ModifyVpcEndpointRequest |
withAddSecurityGroupIds(String... addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
|
ModifyVpcEndpointRequest |
withAddSubnetIds(Collection<String> addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.
|
ModifyVpcEndpointRequest |
withAddSubnetIds(String... addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.
|
ModifyVpcEndpointRequest |
withDnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.
|
ModifyVpcEndpointRequest |
withIpAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
|
ModifyVpcEndpointRequest |
withIpAddressType(String ipAddressType)
The IP address type for the endpoint.
|
ModifyVpcEndpointRequest |
withPolicyDocument(String policyDocument)
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
|
ModifyVpcEndpointRequest |
withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveRouteTableIds(String... removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
|
ModifyVpcEndpointRequest |
withRemoveSecurityGroupIds(String... removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
|
ModifyVpcEndpointRequest |
withRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
|
ModifyVpcEndpointRequest |
withRemoveSubnetIds(String... removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
|
ModifyVpcEndpointRequest |
withResetPolicy(Boolean resetPolicy)
(Gateway endpoint) Specify
true to reset the policy document to the default policy. |
ModifyVpcEndpointRequest |
withSubnetConfigurations(Collection<SubnetConfiguration> subnetConfigurations)
The subnet configurations for the endpoint.
|
ModifyVpcEndpointRequest |
withSubnetConfigurations(SubnetConfiguration... subnetConfigurations)
The subnet configurations for the endpoint.
|
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)
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
policyDocument
- (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
The policy must be in valid JSON format.public String getPolicyDocument()
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
public ModifyVpcEndpointRequest withPolicyDocument(String policyDocument)
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
policyDocument
- (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
The policy must be in valid JSON format.public List<String> getAddRouteTableIds()
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
public void setAddRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
addRouteTableIds
- (Gateway endpoint) The IDs of the route tables to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(String... addRouteTableIds)
(Gateway endpoint) The IDs of the route tables 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) The IDs of the route tables to associate with the endpoint.public ModifyVpcEndpointRequest withAddRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
addRouteTableIds
- (Gateway endpoint) The IDs of the route tables to associate with the endpoint.public List<String> getRemoveRouteTableIds()
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
public void setRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
removeRouteTableIds
- (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(String... removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables 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) The IDs of the route tables to disassociate from the endpoint.public ModifyVpcEndpointRequest withRemoveRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
removeRouteTableIds
- (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.public List<String> getAddSubnetIds()
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
public void setAddSubnetIds(Collection<String> addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
addSubnetIds
- (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For
a Gateway Load Balancer endpoint, you can specify only one subnet.public ModifyVpcEndpointRequest withAddSubnetIds(String... addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
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 and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For
a Gateway Load Balancer endpoint, you can specify only one subnet.public ModifyVpcEndpointRequest withAddSubnetIds(Collection<String> addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
addSubnetIds
- (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For
a Gateway Load Balancer endpoint, you can specify only one subnet.public List<String> getRemoveSubnetIds()
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
public void setRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
removeSubnetIds
- (Interface endpoint) The IDs of the subnets from which to remove the endpoint.public ModifyVpcEndpointRequest withRemoveSubnetIds(String... removeSubnetIds)
(Interface endpoint) The IDs of the subnets from 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) The IDs of the subnets from which to remove the endpoint.public ModifyVpcEndpointRequest withRemoveSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
removeSubnetIds
- (Interface endpoint) The IDs of the subnets from which to remove the endpoint.public List<String> getAddSecurityGroupIds()
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
public void setAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
addSecurityGroupIds
- (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.public ModifyVpcEndpointRequest withAddSecurityGroupIds(String... addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
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) The IDs of the security groups to associate with the endpoint network interfaces.public ModifyVpcEndpointRequest withAddSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
addSecurityGroupIds
- (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.public List<String> getRemoveSecurityGroupIds()
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
public void setRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
removeSecurityGroupIds
- (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.public ModifyVpcEndpointRequest withRemoveSecurityGroupIds(String... removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
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) The IDs of the security groups to disassociate from the endpoint network interfaces.public ModifyVpcEndpointRequest withRemoveSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
removeSecurityGroupIds
- (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.public void setIpAddressType(String ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public String getIpAddressType()
The IP address type for the endpoint.
IpAddressType
public ModifyVpcEndpointRequest withIpAddressType(String ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public ModifyVpcEndpointRequest withIpAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
public void setDnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.
dnsOptions
- The DNS options for the endpoint.public DnsOptionsSpecification getDnsOptions()
The DNS options for the endpoint.
public ModifyVpcEndpointRequest withDnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.
dnsOptions
- The DNS options for the endpoint.public void setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
privateDnsEnabled
- (Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.public Boolean getPrivateDnsEnabled()
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
public ModifyVpcEndpointRequest withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
privateDnsEnabled
- (Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.public Boolean isPrivateDnsEnabled()
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
public List<SubnetConfiguration> getSubnetConfigurations()
The subnet configurations for the endpoint.
public void setSubnetConfigurations(Collection<SubnetConfiguration> subnetConfigurations)
The subnet configurations for the endpoint.
subnetConfigurations
- The subnet configurations for the endpoint.public ModifyVpcEndpointRequest withSubnetConfigurations(SubnetConfiguration... subnetConfigurations)
The subnet configurations for the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetConfigurations(java.util.Collection)
or withSubnetConfigurations(java.util.Collection)
if you want to override the existing values.
subnetConfigurations
- The subnet configurations for the endpoint.public ModifyVpcEndpointRequest withSubnetConfigurations(Collection<SubnetConfiguration> subnetConfigurations)
The subnet configurations for the endpoint.
subnetConfigurations
- The subnet configurations for 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()