@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCarrierGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateCarrierGatewayRequest>
NOOP| Constructor and Description |
|---|
CreateCarrierGatewayRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateCarrierGatewayRequest |
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<CreateCarrierGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<TagSpecification> |
getTagSpecifications()
The tags to associate with the carrier gateway.
|
String |
getVpcId()
The ID of the VPC to associate with the carrier gateway.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the carrier gateway.
|
void |
setVpcId(String vpcId)
The ID of the VPC to associate with the carrier gateway.
|
String |
toString()
Returns a string representation of this object.
|
CreateCarrierGatewayRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateCarrierGatewayRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the carrier gateway.
|
CreateCarrierGatewayRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to associate with the carrier gateway.
|
CreateCarrierGatewayRequest |
withVpcId(String vpcId)
The ID of the VPC to associate with the carrier 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, withSdkRequestTimeoutpublic void setVpcId(String vpcId)
The ID of the VPC to associate with the carrier gateway.
vpcId - The ID of the VPC to associate with the carrier gateway.public String getVpcId()
The ID of the VPC to associate with the carrier gateway.
public CreateCarrierGatewayRequest withVpcId(String vpcId)
The ID of the VPC to associate with the carrier gateway.
vpcId - The ID of the VPC to associate with the carrier gateway.public List<TagSpecification> getTagSpecifications()
The tags to associate with the carrier gateway.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the carrier gateway.
tagSpecifications - The tags to associate with the carrier gateway.public CreateCarrierGatewayRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to associate with the carrier gateway.
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 carrier gateway.public CreateCarrierGatewayRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to associate with the carrier gateway.
tagSpecifications - The tags to associate with the carrier gateway.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 CreateCarrierGatewayRequest 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 Request<CreateCarrierGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateCarrierGatewayRequest>public String toString()
toString in class ObjectObject.toString()public CreateCarrierGatewayRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()