@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayPeeringRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTransitGatewayPeeringRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTransitGatewayPeeringRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The client token associated with the request.
|
String |
getCoreNetworkId()
The ID of a core network.
|
List<Tag> |
getTags()
The list of key-value tags associated with the request.
|
String |
getTransitGatewayArn()
The ARN of the transit gateway for the peering request.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The client token associated with the request.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
void |
setTags(Collection<Tag> tags)
The list of key-value tags associated with the request.
|
void |
setTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway for the peering request.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayPeeringRequest |
withClientToken(String clientToken)
The client token associated with the request.
|
CreateTransitGatewayPeeringRequest |
withCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
CreateTransitGatewayPeeringRequest |
withTags(Collection<Tag> tags)
The list of key-value tags associated with the request.
|
CreateTransitGatewayPeeringRequest |
withTags(Tag... tags)
The list of key-value tags associated with the request.
|
CreateTransitGatewayPeeringRequest |
withTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway for the peering request.
|
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 setCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public String getCoreNetworkId()
The ID of a core network.
public CreateTransitGatewayPeeringRequest withCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public void setTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway for the peering request.
transitGatewayArn
- The ARN of the transit gateway for the peering request.public String getTransitGatewayArn()
The ARN of the transit gateway for the peering request.
public CreateTransitGatewayPeeringRequest withTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway for the peering request.
transitGatewayArn
- The ARN of the transit gateway for the peering request.public List<Tag> getTags()
The list of key-value tags associated with the request.
public void setTags(Collection<Tag> tags)
The list of key-value tags associated with the request.
tags
- The list of key-value tags associated with the request.public CreateTransitGatewayPeeringRequest withTags(Tag... tags)
The list of key-value tags associated with the request.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of key-value tags associated with the request.public CreateTransitGatewayPeeringRequest withTags(Collection<Tag> tags)
The list of key-value tags associated with the request.
tags
- The list of key-value tags associated with the request.public void setClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public String getClientToken()
The client token associated with the request.
public CreateTransitGatewayPeeringRequest withClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayPeeringRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()