@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 endpoint) 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) |
int |
hashCode() |
String |
policyDocument()
A policy to attach to the endpoint that controls access to the service.
|
Boolean |
privateDnsEnabled()
(Interface endpoint) Indicate 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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
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.
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.
public List<String> addSubnetIds()
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
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.
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.
public Boolean privateDnsEnabled()
(Interface endpoint) Indicate 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 int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.