@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayPeeringAttachment extends Object implements Serializable, Cloneable
Describes the transit gateway peering attachment.
Constructor and Description |
---|
TransitGatewayPeeringAttachment() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayPeeringAttachment |
clone() |
boolean |
equals(Object obj) |
PeeringTgwInfo |
getAccepterTgwInfo()
Information about the accepter transit gateway.
|
String |
getAccepterTransitGatewayAttachmentId()
The ID of the accepter transit gateway attachment.
|
Date |
getCreationTime()
The time the transit gateway peering attachment was created.
|
TransitGatewayPeeringAttachmentOptions |
getOptions()
Details about the transit gateway peering attachment.
|
PeeringTgwInfo |
getRequesterTgwInfo()
Information about the requester transit gateway.
|
String |
getState()
The state of the transit gateway peering attachment.
|
PeeringAttachmentStatus |
getStatus()
The status of the transit gateway peering attachment.
|
List<Tag> |
getTags()
The tags for the transit gateway peering attachment.
|
String |
getTransitGatewayAttachmentId()
The ID of the transit gateway peering attachment.
|
int |
hashCode() |
void |
setAccepterTgwInfo(PeeringTgwInfo accepterTgwInfo)
Information about the accepter transit gateway.
|
void |
setAccepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId)
The ID of the accepter transit gateway attachment.
|
void |
setCreationTime(Date creationTime)
The time the transit gateway peering attachment was created.
|
void |
setOptions(TransitGatewayPeeringAttachmentOptions options)
Details about the transit gateway peering attachment.
|
void |
setRequesterTgwInfo(PeeringTgwInfo requesterTgwInfo)
Information about the requester transit gateway.
|
void |
setState(String state)
The state of the transit gateway peering attachment.
|
void |
setStatus(PeeringAttachmentStatus status)
The status of the transit gateway peering attachment.
|
void |
setTags(Collection<Tag> tags)
The tags for the transit gateway peering attachment.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway peering attachment.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayPeeringAttachment |
withAccepterTgwInfo(PeeringTgwInfo accepterTgwInfo)
Information about the accepter transit gateway.
|
TransitGatewayPeeringAttachment |
withAccepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId)
The ID of the accepter transit gateway attachment.
|
TransitGatewayPeeringAttachment |
withCreationTime(Date creationTime)
The time the transit gateway peering attachment was created.
|
TransitGatewayPeeringAttachment |
withOptions(TransitGatewayPeeringAttachmentOptions options)
Details about the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment |
withRequesterTgwInfo(PeeringTgwInfo requesterTgwInfo)
Information about the requester transit gateway.
|
TransitGatewayPeeringAttachment |
withState(String state)
The state of the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment |
withState(TransitGatewayAttachmentState state)
The state of the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment |
withStatus(PeeringAttachmentStatus status)
The status of the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment |
withTags(Collection<Tag> tags)
The tags for the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment |
withTags(Tag... tags)
The tags for the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway peering attachment.
|
public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway peering attachment.
transitGatewayAttachmentId
- The ID of the transit gateway peering attachment.public String getTransitGatewayAttachmentId()
The ID of the transit gateway peering attachment.
public TransitGatewayPeeringAttachment withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway peering attachment.
transitGatewayAttachmentId
- The ID of the transit gateway peering attachment.public void setAccepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId)
The ID of the accepter transit gateway attachment.
accepterTransitGatewayAttachmentId
- The ID of the accepter transit gateway attachment.public String getAccepterTransitGatewayAttachmentId()
The ID of the accepter transit gateway attachment.
public TransitGatewayPeeringAttachment withAccepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId)
The ID of the accepter transit gateway attachment.
accepterTransitGatewayAttachmentId
- The ID of the accepter transit gateway attachment.public void setRequesterTgwInfo(PeeringTgwInfo requesterTgwInfo)
Information about the requester transit gateway.
requesterTgwInfo
- Information about the requester transit gateway.public PeeringTgwInfo getRequesterTgwInfo()
Information about the requester transit gateway.
public TransitGatewayPeeringAttachment withRequesterTgwInfo(PeeringTgwInfo requesterTgwInfo)
Information about the requester transit gateway.
requesterTgwInfo
- Information about the requester transit gateway.public void setAccepterTgwInfo(PeeringTgwInfo accepterTgwInfo)
Information about the accepter transit gateway.
accepterTgwInfo
- Information about the accepter transit gateway.public PeeringTgwInfo getAccepterTgwInfo()
Information about the accepter transit gateway.
public TransitGatewayPeeringAttachment withAccepterTgwInfo(PeeringTgwInfo accepterTgwInfo)
Information about the accepter transit gateway.
accepterTgwInfo
- Information about the accepter transit gateway.public void setOptions(TransitGatewayPeeringAttachmentOptions options)
Details about the transit gateway peering attachment.
options
- Details about the transit gateway peering attachment.public TransitGatewayPeeringAttachmentOptions getOptions()
Details about the transit gateway peering attachment.
public TransitGatewayPeeringAttachment withOptions(TransitGatewayPeeringAttachmentOptions options)
Details about the transit gateway peering attachment.
options
- Details about the transit gateway peering attachment.public void setStatus(PeeringAttachmentStatus status)
The status of the transit gateway peering attachment.
status
- The status of the transit gateway peering attachment.public PeeringAttachmentStatus getStatus()
The status of the transit gateway peering attachment.
public TransitGatewayPeeringAttachment withStatus(PeeringAttachmentStatus status)
The status of the transit gateway peering attachment.
status
- The status of the transit gateway peering attachment.public void setState(String state)
The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.
state
- The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.TransitGatewayAttachmentState
public String getState()
The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.
initiating
state has been
deprecated.TransitGatewayAttachmentState
public TransitGatewayPeeringAttachment withState(String state)
The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.
state
- The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.TransitGatewayAttachmentState
public TransitGatewayPeeringAttachment withState(TransitGatewayAttachmentState state)
The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.
state
- The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.TransitGatewayAttachmentState
public void setCreationTime(Date creationTime)
The time the transit gateway peering attachment was created.
creationTime
- The time the transit gateway peering attachment was created.public Date getCreationTime()
The time the transit gateway peering attachment was created.
public TransitGatewayPeeringAttachment withCreationTime(Date creationTime)
The time the transit gateway peering attachment was created.
creationTime
- The time the transit gateway peering attachment was created.public List<Tag> getTags()
The tags for the transit gateway peering attachment.
public void setTags(Collection<Tag> tags)
The tags for the transit gateway peering attachment.
tags
- The tags for the transit gateway peering attachment.public TransitGatewayPeeringAttachment withTags(Tag... tags)
The tags for the transit gateway peering attachment.
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 tags for the transit gateway peering attachment.public TransitGatewayPeeringAttachment withTags(Collection<Tag> tags)
The tags for the transit gateway peering attachment.
tags
- The tags for the transit gateway peering attachment.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayPeeringAttachment clone()