@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()
For responses, this returns true if the service returned a value for the AddRouteTableIds property.
|
boolean |
hasAddSecurityGroupIds()
For responses, this returns true if the service returned a value for the AddSecurityGroupIds property.
|
boolean |
hasAddSubnetIds()
For responses, this returns true if the service returned a value for the AddSubnetIds property.
|
int |
hashCode() |
boolean |
hasRemoveRouteTableIds()
For responses, this returns true if the service returned a value for the RemoveRouteTableIds property.
|
boolean |
hasRemoveSecurityGroupIds()
For responses, this returns true if the service returned a value for the RemoveSecurityGroupIds property.
|
boolean |
hasRemoveSubnetIds()
For responses, this returns true if the service returned a value for the RemoveSubnetIds property.
|
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 final String vpcEndpointId()
The ID of the endpoint.
public final 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 final 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 final boolean hasAddRouteTableIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAddRouteTableIds() method.
public final boolean hasRemoveRouteTableIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRemoveRouteTableIds() method.
public final boolean hasAddSubnetIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAddSubnetIds() method.
public final boolean hasRemoveSubnetIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRemoveSubnetIds() method.
public final boolean hasAddSecurityGroupIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAddSecurityGroupIds() method.
public final boolean hasRemoveSecurityGroupIds()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRemoveSecurityGroupIds() method.
public final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.