@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 that you provide to ensure the idempotency of the request.
|
Request<CreateVpcEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPolicyDocument()
A policy to attach to the endpoint that controls access to the service.
|
Boolean |
getPrivateDnsEnabled()
(Interface endpoint) Indicates 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 endpoint network interface.
|
String |
getServiceName()
The service name.
|
List<String> |
getSubnetIds()
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
|
List<TagSpecification> |
getTagSpecifications()
The tags to associate with 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) Indicates whether to associate a private hosted zone with the specified VPC.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPolicyDocument(String policyDocument)
A policy to attach to the endpoint that controls access to the service.
|
void |
setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates 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 endpoint network interface.
|
void |
setServiceName(String serviceName)
The service name.
|
void |
setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with 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.
|
CreateVpcEndpointRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateVpcEndpointRequest |
withPolicyDocument(String policyDocument)
A policy to attach to the endpoint that controls access to the service.
|
CreateVpcEndpointRequest |
withPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates 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 endpoint network interface.
|
CreateVpcEndpointRequest |
withSecurityGroupIds(String... securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
|
CreateVpcEndpointRequest |
withServiceName(String serviceName)
The service name.
|
CreateVpcEndpointRequest |
withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
|
CreateVpcEndpointRequest |
withSubnetIds(String... subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
|
CreateVpcEndpointRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the endpoint.
|
CreateVpcEndpointRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to associate with 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.
Default: Gateway
vpcEndpointType
- The type of endpoint.
Default: Gateway
VpcEndpointType
public String getVpcEndpointType()
The type of endpoint.
Default: Gateway
Default: Gateway
VpcEndpointType
public CreateVpcEndpointRequest withVpcEndpointType(String vpcEndpointType)
The type of endpoint.
Default: Gateway
vpcEndpointType
- The type of endpoint.
Default: Gateway
VpcEndpointType
public CreateVpcEndpointRequest withVpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
Default: Gateway
vpcEndpointType
- The type of endpoint.
Default: Gateway
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 service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.
serviceName
- The service name. To get a list of available services, use the DescribeVpcEndpointServices request,
or get the name from the service provider.public String getServiceName()
The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.
public CreateVpcEndpointRequest withServiceName(String serviceName)
The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.
serviceName
- The service name. To get a list of available services, use the DescribeVpcEndpointServices request,
or get the name from the service provider.public void setPolicyDocument(String policyDocument)
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
- 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()
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)
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
- 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 an endpoint network interface.
public void setSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.public CreateVpcEndpointRequest withSubnetIds(String... subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
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 an endpoint network interface.public CreateVpcEndpointRequest withSubnetIds(Collection<String> subnetIds)
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
subnetIds
- (Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.public List<String> getSecurityGroupIds()
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the endpoint network
interface.public CreateVpcEndpointRequest withSecurityGroupIds(String... securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint 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 endpoint network
interface.public CreateVpcEndpointRequest withSecurityGroupIds(Collection<String> securityGroupIds)
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
securityGroupIds
- (Interface endpoint) The ID of one or more security groups to associate with the endpoint network
interface.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public String getClientToken()
Unique, case-sensitive identifier that 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 that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public void setPrivateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates 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) Indicates 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) Indicates 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) Indicates 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) Indicates 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) Indicates 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 List<TagSpecification> getTagSpecifications()
The tags to associate with the endpoint.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the endpoint.
tagSpecifications
- The tags to associate with the endpoint.public CreateVpcEndpointRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to associate with the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to associate with the endpoint.public CreateVpcEndpointRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the endpoint.
tagSpecifications
- The tags to associate with the endpoint.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.