@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() |
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 and Gateway Load Balancer endpoints) One or more subnet IDs 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) 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) 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) 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 and Gateway Load Balancer endpoints) One or more subnet IDs 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) 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.
|
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 and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint.
|
ModifyVpcEndpointRequest |
withAddSubnetIds(String... addSubnetIds)
(Interface and Gateway Load Balancer endpoints) One or more subnet IDs 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) 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, copyBaseTo, 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) 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 and Gateway Load Balancer endpoints) One or more subnet IDs 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) One or more subnet IDs 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) One or more subnet IDs 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) One or more subnet IDs 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) One or more subnet IDs 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) One or more subnet IDs 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) One or more subnet IDs in which to serve the endpoint. For
a Gateway Load Balancer endpoint, you can specify only one subnet.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 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 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 © 2022. All rights reserved.