@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTransitGatewayRequest>
NOOP| Constructor and Description | 
|---|
CreateTransitGatewayRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateTransitGatewayRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getDescription()
 A description of the transit gateway. 
 | 
Request<CreateTransitGatewayRequest> | 
getDryRunRequest()
This method is intended for internal use only. 
 | 
TransitGatewayRequestOptions | 
getOptions()
 The transit gateway options. 
 | 
List<TagSpecification> | 
getTagSpecifications()
 The tags to apply to the transit gateway. 
 | 
int | 
hashCode()  | 
void | 
setDescription(String description)
 A description of the transit gateway. 
 | 
void | 
setOptions(TransitGatewayRequestOptions options)
 The transit gateway options. 
 | 
void | 
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to apply to the transit gateway. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateTransitGatewayRequest | 
withDescription(String description)
 A description of the transit gateway. 
 | 
CreateTransitGatewayRequest | 
withOptions(TransitGatewayRequestOptions options)
 The transit gateway options. 
 | 
CreateTransitGatewayRequest | 
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to apply to the transit gateway. 
 | 
CreateTransitGatewayRequest | 
withTagSpecifications(TagSpecification... tagSpecifications)
 The tags to apply to the transit 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 setDescription(String description)
A description of the transit gateway.
description - A description of the transit gateway.public String getDescription()
A description of the transit gateway.
public CreateTransitGatewayRequest withDescription(String description)
A description of the transit gateway.
description - A description of the transit gateway.public void setOptions(TransitGatewayRequestOptions options)
The transit gateway options.
options - The transit gateway options.public TransitGatewayRequestOptions getOptions()
The transit gateway options.
public CreateTransitGatewayRequest withOptions(TransitGatewayRequestOptions options)
The transit gateway options.
options - The transit gateway options.public List<TagSpecification> getTagSpecifications()
The tags to apply to the transit gateway.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway.
tagSpecifications - The tags to apply to the transit gateway.public CreateTransitGatewayRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the transit 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 apply to the transit gateway.public CreateTransitGatewayRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway.
tagSpecifications - The tags to apply to the transit gateway.public Request<CreateTransitGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateTransitGatewayRequest>public String toString()
toString in class ObjectObject.toString()public CreateTransitGatewayRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()