@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 network interface.
|
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 |
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.
|
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 network interface.
|
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() |
ModifyVpcEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcEndpointId()
The ID of the endpoint.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
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 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) The IDs of the security groups 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 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()
.
IpAddressType
public 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()
.
IpAddressType
public 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 ModifyVpcEndpointRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>
toBuilder
in class Ec2Request
public static ModifyVpcEndpointRequest.Builder builder()
public static Class<? extends ModifyVpcEndpointRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.