@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayConnectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTransitGatewayConnectRequest>
NOOP| Constructor and Description |
|---|
CreateTransitGatewayConnectRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTransitGatewayConnectRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<CreateTransitGatewayConnectRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
CreateTransitGatewayConnectRequestOptions |
getOptions()
The Connect attachment options.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the Connect attachment.
|
String |
getTransportTransitGatewayAttachmentId()
The ID of the transit gateway attachment.
|
int |
hashCode() |
void |
setOptions(CreateTransitGatewayConnectRequestOptions options)
The Connect attachment options.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect attachment.
|
void |
setTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the transit gateway attachment.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayConnectRequest |
withOptions(CreateTransitGatewayConnectRequestOptions options)
The Connect attachment options.
|
CreateTransitGatewayConnectRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect attachment.
|
CreateTransitGatewayConnectRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect attachment.
|
CreateTransitGatewayConnectRequest |
withTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the transit gateway attachment.
|
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 setTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
transportTransitGatewayAttachmentId - The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct
Connect attachment.public String getTransportTransitGatewayAttachmentId()
The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
public CreateTransitGatewayConnectRequest withTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
transportTransitGatewayAttachmentId - The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct
Connect attachment.public void setOptions(CreateTransitGatewayConnectRequestOptions options)
The Connect attachment options.
options - The Connect attachment options.public CreateTransitGatewayConnectRequestOptions getOptions()
The Connect attachment options.
public CreateTransitGatewayConnectRequest withOptions(CreateTransitGatewayConnectRequestOptions options)
The Connect attachment options.
options - The Connect attachment options.public List<TagSpecification> getTagSpecifications()
The tags to apply to the Connect attachment.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect attachment.
tagSpecifications - The tags to apply to the Connect attachment.public CreateTransitGatewayConnectRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect attachment.
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 Connect attachment.public CreateTransitGatewayConnectRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect attachment.
tagSpecifications - The tags to apply to the Connect attachment.public Request<CreateTransitGatewayConnectRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateTransitGatewayConnectRequest>public String toString()
toString in class ObjectObject.toString()public CreateTransitGatewayConnectRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()