@Generated(value="software.amazon.awssdk:codegen") public final class ModifyVpcEndpointRequest extends Ec2Request implements ToCopyableBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>
Contains the parameters for ModifyVpcEndpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyVpcEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addRouteTableIds()
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
|
List<String> |
addSecurityGroupIds()
(Interface endpoint) One or more security group IDs to associate with the network interface.
|
List<String> |
addSubnetIds()
(Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint.
|
static ModifyVpcEndpointRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAddRouteTableIds()
Returns true if the AddRouteTableIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasAddSecurityGroupIds()
Returns true if the AddSecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasAddSubnetIds()
Returns true if the AddSubnetIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRemoveRouteTableIds()
Returns true if the RemoveRouteTableIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasRemoveSecurityGroupIds()
Returns true if the RemoveSecurityGroupIds property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasRemoveSubnetIds()
Returns true if the RemoveSubnetIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
policyDocument()
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
|
Boolean |
privateDnsEnabled()
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
|
List<String> |
removeRouteTableIds()
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
|
List<String> |
removeSecurityGroupIds()
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
|
List<String> |
removeSubnetIds()
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
|
Boolean |
resetPolicy()
(Gateway endpoint) Specify
true to reset the policy document to the default policy. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyVpcEndpointRequest.Builder> |
serializableBuilderClass() |
ModifyVpcEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcEndpointId()
The ID of the endpoint.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String vpcEndpointId()
The ID of the endpoint.
public Boolean resetPolicy()
(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 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.
public boolean hasAddRouteTableIds()
public List<String> addRouteTableIds()
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAddRouteTableIds() to see if a value was sent in this field.
public boolean hasRemoveRouteTableIds()
public List<String> removeRouteTableIds()
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemoveRouteTableIds() to see if a value was sent in this field.
public boolean hasAddSubnetIds()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAddSubnetIds() to see if a value was sent in this field.
public boolean hasRemoveSubnetIds()
public List<String> removeSubnetIds()
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemoveSubnetIds() to see if a value was sent in this field.
public boolean hasAddSecurityGroupIds()
public List<String> addSecurityGroupIds()
(Interface endpoint) One or more security group IDs to associate with the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAddSecurityGroupIds() to see if a value was sent in this field.
public boolean hasRemoveSecurityGroupIds()
public List<String> removeSecurityGroupIds()
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemoveSecurityGroupIds() to see if a value was sent in this field.
public Boolean privateDnsEnabled()
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
public ModifyVpcEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>toBuilder in class Ec2Requestpublic static ModifyVpcEndpointRequest.Builder builder()
public static Class<? extends ModifyVpcEndpointRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.