@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNatGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateNatGatewayRequest>
Contains the parameters for CreateNatGateway.
NOOP
Constructor and Description |
---|
CreateNatGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNatGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAllocationId()
The allocation ID of an Elastic IP address to associate with the NAT gateway.
|
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
Request<CreateNatGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSubnetId()
The subnet in which to create the NAT gateway.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
The allocation ID of an Elastic IP address to associate with the NAT gateway.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
void |
setSubnetId(String subnetId)
The subnet in which to create the NAT gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateNatGatewayRequest |
withAllocationId(String allocationId)
The allocation ID of an Elastic IP address to associate with the NAT gateway.
|
CreateNatGatewayRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateNatGatewayRequest |
withSubnetId(String subnetId)
The subnet in which to create the NAT gateway.
|
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 setAllocationId(String allocationId)
The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
allocationId
- The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is
associated with another resource, you must first disassociate it.public String getAllocationId()
The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
public CreateNatGatewayRequest withAllocationId(String allocationId)
The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
allocationId
- The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is
associated with another resource, you must first disassociate it.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.
Constraint: Maximum 64 ASCII characters.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.
Constraint: Maximum 64 ASCII characters.
public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Constraint: Maximum 64 ASCII characters.
Constraint: Maximum 64 ASCII characters.
public CreateNatGatewayRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Constraint: Maximum 64 ASCII characters.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.
Constraint: Maximum 64 ASCII characters.
public void setSubnetId(String subnetId)
The subnet in which to create the NAT gateway.
subnetId
- The subnet in which to create the NAT gateway.public String getSubnetId()
The subnet in which to create the NAT gateway.
public CreateNatGatewayRequest withSubnetId(String subnetId)
The subnet in which to create the NAT gateway.
subnetId
- The subnet in which to create the NAT gateway.public Request<CreateNatGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateNatGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateNatGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.