@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayConnectPeer extends Object implements Serializable, Cloneable
Describes a transit gateway Connect peer.
Constructor and Description |
---|
TransitGatewayConnectPeer() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayConnectPeer |
clone() |
boolean |
equals(Object obj) |
TransitGatewayConnectPeerConfiguration |
getConnectPeerConfiguration()
The Connect peer details.
|
Date |
getCreationTime()
The creation time.
|
String |
getState()
The state of the Connect peer.
|
List<Tag> |
getTags()
The tags for the Connect peer.
|
String |
getTransitGatewayAttachmentId()
The ID of the Connect attachment.
|
String |
getTransitGatewayConnectPeerId()
The ID of the Connect peer.
|
int |
hashCode() |
void |
setConnectPeerConfiguration(TransitGatewayConnectPeerConfiguration connectPeerConfiguration)
The Connect peer details.
|
void |
setCreationTime(Date creationTime)
The creation time.
|
void |
setState(String state)
The state of the Connect peer.
|
void |
setTags(Collection<Tag> tags)
The tags for the Connect peer.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
|
void |
setTransitGatewayConnectPeerId(String transitGatewayConnectPeerId)
The ID of the Connect peer.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayConnectPeer |
withConnectPeerConfiguration(TransitGatewayConnectPeerConfiguration connectPeerConfiguration)
The Connect peer details.
|
TransitGatewayConnectPeer |
withCreationTime(Date creationTime)
The creation time.
|
TransitGatewayConnectPeer |
withState(String state)
The state of the Connect peer.
|
TransitGatewayConnectPeer |
withState(TransitGatewayConnectPeerState state)
The state of the Connect peer.
|
TransitGatewayConnectPeer |
withTags(Collection<Tag> tags)
The tags for the Connect peer.
|
TransitGatewayConnectPeer |
withTags(Tag... tags)
The tags for the Connect peer.
|
TransitGatewayConnectPeer |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
|
TransitGatewayConnectPeer |
withTransitGatewayConnectPeerId(String transitGatewayConnectPeerId)
The ID of the Connect peer.
|
public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
transitGatewayAttachmentId
- The ID of the Connect attachment.public String getTransitGatewayAttachmentId()
The ID of the Connect attachment.
public TransitGatewayConnectPeer withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
transitGatewayAttachmentId
- The ID of the Connect attachment.public void setTransitGatewayConnectPeerId(String transitGatewayConnectPeerId)
The ID of the Connect peer.
transitGatewayConnectPeerId
- The ID of the Connect peer.public String getTransitGatewayConnectPeerId()
The ID of the Connect peer.
public TransitGatewayConnectPeer withTransitGatewayConnectPeerId(String transitGatewayConnectPeerId)
The ID of the Connect peer.
transitGatewayConnectPeerId
- The ID of the Connect peer.public void setState(String state)
The state of the Connect peer.
state
- The state of the Connect peer.TransitGatewayConnectPeerState
public String getState()
The state of the Connect peer.
TransitGatewayConnectPeerState
public TransitGatewayConnectPeer withState(String state)
The state of the Connect peer.
state
- The state of the Connect peer.TransitGatewayConnectPeerState
public TransitGatewayConnectPeer withState(TransitGatewayConnectPeerState state)
The state of the Connect peer.
state
- The state of the Connect peer.TransitGatewayConnectPeerState
public void setCreationTime(Date creationTime)
The creation time.
creationTime
- The creation time.public Date getCreationTime()
The creation time.
public TransitGatewayConnectPeer withCreationTime(Date creationTime)
The creation time.
creationTime
- The creation time.public void setConnectPeerConfiguration(TransitGatewayConnectPeerConfiguration connectPeerConfiguration)
The Connect peer details.
connectPeerConfiguration
- The Connect peer details.public TransitGatewayConnectPeerConfiguration getConnectPeerConfiguration()
The Connect peer details.
public TransitGatewayConnectPeer withConnectPeerConfiguration(TransitGatewayConnectPeerConfiguration connectPeerConfiguration)
The Connect peer details.
connectPeerConfiguration
- The Connect peer details.public List<Tag> getTags()
The tags for the Connect peer.
public void setTags(Collection<Tag> tags)
The tags for the Connect peer.
tags
- The tags for the Connect peer.public TransitGatewayConnectPeer withTags(Tag... tags)
The tags for the Connect peer.
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 Connect peer.public TransitGatewayConnectPeer withTags(Collection<Tag> tags)
The tags for the Connect peer.
tags
- The tags for the Connect peer.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayConnectPeer clone()