@Generated(value="software.amazon.awssdk:codegen") public final class ModifyVpcEndpointRequest extends Ec2Request implements ToCopyableBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyVpcEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addRouteTableIds()
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
|
List<String> |
addSecurityGroupIds()
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
|
List<String> |
addSubnetIds()
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.
|
static ModifyVpcEndpointRequest.Builder |
builder() |
DnsOptionsSpecification |
dnsOptions()
The DNS options for the endpoint.
|
Boolean |
dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
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.
|
boolean |
hasSubnetConfigurations()
For responses, this returns true if the service returned a value for the SubnetConfigurations property.
|
IpAddressType |
ipAddressType()
The IP address type for the endpoint.
|
String |
ipAddressTypeAsString()
The IP address type for the endpoint.
|
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) The IDs of the route tables to disassociate from the endpoint.
|
List<String> |
removeSecurityGroupIds()
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
|
List<String> |
removeSubnetIds()
(Interface endpoint) The IDs of the subnets from 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() |
List<SubnetConfiguration> |
subnetConfigurations()
The subnet configurations for the endpoint.
|
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 Boolean dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
DryRunOperation. Otherwise, it is UnauthorizedOperation.public 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) The IDs of the route tables 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) The IDs of the route tables 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) The IDs of the subnets 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) The IDs of the subnets from 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) The IDs of the security groups to associate with the endpoint network interfaces.
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) The IDs of the security groups to disassociate from the endpoint network interfaces.
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 IpAddressType ipAddressType()
The IP address type for the endpoint.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IpAddressTypepublic final String ipAddressTypeAsString()
The IP address type for the endpoint.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IpAddressTypepublic final DnsOptionsSpecification dnsOptions()
The DNS options for the endpoint.
public final Boolean privateDnsEnabled()
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
public final boolean hasSubnetConfigurations()
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<SubnetConfiguration> subnetConfigurations()
The subnet configurations for 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 hasSubnetConfigurations() method.
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 © 2023. All rights reserved.