@Generated(value="software.amazon.awssdk:codegen") public 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
policyDocument()
(Gateway endpoint) A policy document to attach to the endpoint.
|
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. |
static Class<? extends ModifyVpcEndpointRequest.Builder> |
serializableBuilderClass() |
ModifyVpcEndpointRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcEndpointId()
The ID of the endpoint.
|
requestOverrideConfig
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()
(Gateway endpoint) A policy document to attach to the endpoint. 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>
toBuilder
in class EC2Request
public static ModifyVpcEndpointRequest.Builder builder()
public static Class<? extends ModifyVpcEndpointRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.