@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcEndpointRequest>
Contains the parameters for CreateVpcEndpoint.
NOOP
Constructor and Description |
---|
CreateVpcEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
Request<CreateVpcEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPolicyDocument()
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service.
|
Boolean |
getPrivateDnsEnabled()
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
|
List<String> |
getRouteTableIds()
(Gateway endpoint) One or more route table IDs.
|
List<String> |
getSecurityGroupIds()
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
|
String |
getServiceName()
The AWS service name, in the form
com.amazonaws.region.service . |
List<String> |
getSubnetIds()
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
|
String |
getVpcEndpointType()
The type of endpoint.
|
String |
getVpcId()
The ID of the VPC in which the endpoint will be used.
|
int |
hashCode() |
Boolean |
isPrivateDnsEnabled()
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
void |
setPolicyDocument(String policyDocument)
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service.
|
void |
setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
|
void |
setRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route table IDs.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
|
void |
setServiceName(String serviceName)
The AWS service name, in the form
com.amazonaws.region.service . |
void |
setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
|
void |
setVpcEndpointType(String vpcEndpointType)
The type of endpoint.
|
void |
setVpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateVpcEndpointRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateVpcEndpointRequest |
withPolicyDocument(String policyDocument)
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service.
|
CreateVpcEndpointRequest |
withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC.
|
CreateVpcEndpointRequest |
withRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route table IDs.
|
CreateVpcEndpointRequest |
withRouteTableIds(String... routeTableIds)
(Gateway endpoint) One or more route table IDs.
|
CreateVpcEndpointRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
|
CreateVpcEndpointRequest |
withSecurityGroupIds(String... securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
|
CreateVpcEndpointRequest |
withServiceName(String serviceName)
The AWS service name, in the form
com.amazonaws.region.service . |
CreateVpcEndpointRequest |
withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
|
CreateVpcEndpointRequest |
withSubnetIds(String... subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
|
CreateVpcEndpointRequest |
withVpcEndpointType(String vpcEndpointType)
The type of endpoint.
|
CreateVpcEndpointRequest |
withVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
|
CreateVpcEndpointRequest |
withVpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVpcEndpointType(String vpcEndpointType)
The type of endpoint. If not specified, the default is a gateway endpoint.
vpcEndpointType
- The type of endpoint. If not specified, the default is a gateway endpoint.VpcEndpointType
public String getVpcEndpointType()
The type of endpoint. If not specified, the default is a gateway endpoint.
VpcEndpointType
public CreateVpcEndpointRequest withVpcEndpointType(String vpcEndpointType)
The type of endpoint. If not specified, the default is a gateway endpoint.
vpcEndpointType
- The type of endpoint. If not specified, the default is a gateway endpoint.VpcEndpointType
public CreateVpcEndpointRequest withVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint. If not specified, the default is a gateway endpoint.
vpcEndpointType
- The type of endpoint. If not specified, the default is a gateway endpoint.VpcEndpointType
public void setVpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
vpcId
- The ID of the VPC in which the endpoint will be used.public String getVpcId()
The ID of the VPC in which the endpoint will be used.
public CreateVpcEndpointRequest withVpcId(String vpcId)
The ID of the VPC in which the endpoint will be used.
vpcId
- The ID of the VPC in which the endpoint will be used.public void setServiceName(String serviceName)
The AWS service name, in the form com.amazonaws.region.service
. To get a list of
available services, use the DescribeVpcEndpointServices request.
serviceName
- The AWS service name, in the form com.amazonaws.region.service
. To get a list
of available services, use the DescribeVpcEndpointServices request.public String getServiceName()
The AWS service name, in the form com.amazonaws.region.service
. To get a list of
available services, use the DescribeVpcEndpointServices request.
com.amazonaws.region.service
. To get a list
of available services, use the DescribeVpcEndpointServices request.public CreateVpcEndpointRequest withServiceName(String serviceName)
The AWS service name, in the form com.amazonaws.region.service
. To get a list of
available services, use the DescribeVpcEndpointServices request.
serviceName
- The AWS service name, in the form com.amazonaws.region.service
. To get a list
of available services, use the DescribeVpcEndpointServices request.public void setPolicyDocument(String policyDocument)
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
policyDocument
- (Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy must
be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full
access to the service.public String getPolicyDocument()
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
public CreateVpcEndpointRequest withPolicyDocument(String policyDocument)
(Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
policyDocument
- (Gateway endpoint) A policy to attach to the endpoint that controls access to the service. The policy must
be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full
access to the service.public List<String> getRouteTableIds()
(Gateway endpoint) One or more route table IDs.
public void setRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route table IDs.
routeTableIds
- (Gateway endpoint) One or more route table IDs.public CreateVpcEndpointRequest withRouteTableIds(String... routeTableIds)
(Gateway endpoint) One or more route table IDs.
NOTE: This method appends the values to the existing list (if any). Use
setRouteTableIds(java.util.Collection)
or withRouteTableIds(java.util.Collection)
if you want
to override the existing values.
routeTableIds
- (Gateway endpoint) One or more route table IDs.public CreateVpcEndpointRequest withRouteTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route table IDs.
routeTableIds
- (Gateway endpoint) One or more route table IDs.public List<String> getSubnetIds()
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
public void setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create a network interface for the
endpoint.public CreateVpcEndpointRequest withSubnetIds(String... subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create a network interface for the
endpoint.public CreateVpcEndpointRequest withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create a network interface for the endpoint.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create a network interface for the
endpoint.public List<String> getSecurityGroupIds()
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the network interface.public CreateVpcEndpointRequest withSecurityGroupIds(String... securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the network interface.public CreateVpcEndpointRequest withSecurityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the network interface.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the network interface.public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
public CreateVpcEndpointRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public void setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The private
hosted zone contains a record set for the default public DNS name for the service for the region (for example,
kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of the endpoint network
interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead
of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set the VPC
attributes.
Default: true
privateDnsEnabled
- (Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The
private hosted zone contains a record set for the default public DNS name for the service for the region
(for example, kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of
the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS
name for the service instead of the public DNS names that are automatically generated by the VPC endpoint
service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set
the VPC attributes.
Default: true
public Boolean getPrivateDnsEnabled()
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The private
hosted zone contains a record set for the default public DNS name for the service for the region (for example,
kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of the endpoint network
interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead
of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set the VPC
attributes.
Default: true
kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of
the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS
name for the service instead of the public DNS names that are automatically generated by the VPC endpoint
service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set
the VPC attributes.
Default: true
public CreateVpcEndpointRequest withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The private
hosted zone contains a record set for the default public DNS name for the service for the region (for example,
kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of the endpoint network
interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead
of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set the VPC
attributes.
Default: true
privateDnsEnabled
- (Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The
private hosted zone contains a record set for the default public DNS name for the service for the region
(for example, kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of
the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS
name for the service instead of the public DNS names that are automatically generated by the VPC endpoint
service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set
the VPC attributes.
Default: true
public Boolean isPrivateDnsEnabled()
(Interface endpoint) Indicate whether to associate a private hosted zone with the specified VPC. The private
hosted zone contains a record set for the default public DNS name for the service for the region (for example,
kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of the endpoint network
interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead
of the public DNS names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set the VPC
attributes.
Default: true
kinesis.us-east-1.amazonaws.com
) which resolves to the private IP addresses of
the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS
name for the service instead of the public DNS names that are automatically generated by the VPC endpoint
service.
To use a private hosted zone, you must set the following VPC attributes to true
:
enableDnsHostnames
and enableDnsSupport
. Use ModifyVpcAttribute to set
the VPC attributes.
Default: true
public Request<CreateVpcEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpcEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateVpcEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.