@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayPeeringAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTransitGatewayPeeringAttachmentRequest>
NOOP
Constructor and Description |
---|
CreateTransitGatewayPeeringAttachmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTransitGatewayPeeringAttachmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<CreateTransitGatewayPeeringAttachmentRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
CreateTransitGatewayPeeringAttachmentRequestOptions |
getOptions()
Requests a transit gateway peering attachment.
|
String |
getPeerAccountId()
The ID of the Amazon Web Services account that owns the peer transit gateway.
|
String |
getPeerRegion()
The Region where the peer transit gateway is located.
|
String |
getPeerTransitGatewayId()
The ID of the peer transit gateway with which to create the peering attachment.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the transit gateway peering attachment.
|
String |
getTransitGatewayId()
The ID of the transit gateway.
|
int |
hashCode() |
void |
setOptions(CreateTransitGatewayPeeringAttachmentRequestOptions options)
Requests a transit gateway peering attachment.
|
void |
setPeerAccountId(String peerAccountId)
The ID of the Amazon Web Services account that owns the peer transit gateway.
|
void |
setPeerRegion(String peerRegion)
The Region where the peer transit gateway is located.
|
void |
setPeerTransitGatewayId(String peerTransitGatewayId)
The ID of the peer transit gateway with which to create the peering attachment.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway peering attachment.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayPeeringAttachmentRequest |
withOptions(CreateTransitGatewayPeeringAttachmentRequestOptions options)
Requests a transit gateway peering attachment.
|
CreateTransitGatewayPeeringAttachmentRequest |
withPeerAccountId(String peerAccountId)
The ID of the Amazon Web Services account that owns the peer transit gateway.
|
CreateTransitGatewayPeeringAttachmentRequest |
withPeerRegion(String peerRegion)
The Region where the peer transit gateway is located.
|
CreateTransitGatewayPeeringAttachmentRequest |
withPeerTransitGatewayId(String peerTransitGatewayId)
The ID of the peer transit gateway with which to create the peering attachment.
|
CreateTransitGatewayPeeringAttachmentRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway peering attachment.
|
CreateTransitGatewayPeeringAttachmentRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the transit gateway peering attachment.
|
CreateTransitGatewayPeeringAttachmentRequest |
withTransitGatewayId(String transitGatewayId)
The ID of 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, withSdkRequestTimeout
public CreateTransitGatewayPeeringAttachmentRequest()
public void setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public String getTransitGatewayId()
The ID of the transit gateway.
public CreateTransitGatewayPeeringAttachmentRequest withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public void setPeerTransitGatewayId(String peerTransitGatewayId)
The ID of the peer transit gateway with which to create the peering attachment.
peerTransitGatewayId
- The ID of the peer transit gateway with which to create the peering attachment.public String getPeerTransitGatewayId()
The ID of the peer transit gateway with which to create the peering attachment.
public CreateTransitGatewayPeeringAttachmentRequest withPeerTransitGatewayId(String peerTransitGatewayId)
The ID of the peer transit gateway with which to create the peering attachment.
peerTransitGatewayId
- The ID of the peer transit gateway with which to create the peering attachment.public void setPeerAccountId(String peerAccountId)
The ID of the Amazon Web Services account that owns the peer transit gateway.
peerAccountId
- The ID of the Amazon Web Services account that owns the peer transit gateway.public String getPeerAccountId()
The ID of the Amazon Web Services account that owns the peer transit gateway.
public CreateTransitGatewayPeeringAttachmentRequest withPeerAccountId(String peerAccountId)
The ID of the Amazon Web Services account that owns the peer transit gateway.
peerAccountId
- The ID of the Amazon Web Services account that owns the peer transit gateway.public void setPeerRegion(String peerRegion)
The Region where the peer transit gateway is located.
peerRegion
- The Region where the peer transit gateway is located.public String getPeerRegion()
The Region where the peer transit gateway is located.
public CreateTransitGatewayPeeringAttachmentRequest withPeerRegion(String peerRegion)
The Region where the peer transit gateway is located.
peerRegion
- The Region where the peer transit gateway is located.public void setOptions(CreateTransitGatewayPeeringAttachmentRequestOptions options)
Requests a transit gateway peering attachment.
options
- Requests a transit gateway peering attachment.public CreateTransitGatewayPeeringAttachmentRequestOptions getOptions()
Requests a transit gateway peering attachment.
public CreateTransitGatewayPeeringAttachmentRequest withOptions(CreateTransitGatewayPeeringAttachmentRequestOptions options)
Requests a transit gateway peering attachment.
options
- Requests a transit gateway peering attachment.public List<TagSpecification> getTagSpecifications()
The tags to apply to the transit gateway peering attachment.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway peering attachment.
tagSpecifications
- The tags to apply to the transit gateway peering attachment.public CreateTransitGatewayPeeringAttachmentRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the transit gateway peering 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 transit gateway peering attachment.public CreateTransitGatewayPeeringAttachmentRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway peering attachment.
tagSpecifications
- The tags to apply to the transit gateway peering attachment.public Request<CreateTransitGatewayPeeringAttachmentRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateTransitGatewayPeeringAttachmentRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayPeeringAttachmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()