@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayConnect extends Object implements Serializable, Cloneable
Describes a transit gateway Connect attachment.
Constructor and Description |
---|
TransitGatewayConnect() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayConnect |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The creation time.
|
TransitGatewayConnectOptions |
getOptions()
The Connect attachment options.
|
String |
getState()
The state of the attachment.
|
List<Tag> |
getTags()
The tags for the attachment.
|
String |
getTransitGatewayAttachmentId()
The ID of the Connect attachment.
|
String |
getTransitGatewayId()
The ID of the transit gateway.
|
String |
getTransportTransitGatewayAttachmentId()
The ID of the attachment from which the Connect attachment was created.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The creation time.
|
void |
setOptions(TransitGatewayConnectOptions options)
The Connect attachment options.
|
void |
setState(String state)
The state of the attachment.
|
void |
setTags(Collection<Tag> tags)
The tags for the attachment.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
void |
setTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the attachment from which the Connect attachment was created.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayConnect |
withCreationTime(Date creationTime)
The creation time.
|
TransitGatewayConnect |
withOptions(TransitGatewayConnectOptions options)
The Connect attachment options.
|
TransitGatewayConnect |
withState(String state)
The state of the attachment.
|
TransitGatewayConnect |
withState(TransitGatewayAttachmentState state)
The state of the attachment.
|
TransitGatewayConnect |
withTags(Collection<Tag> tags)
The tags for the attachment.
|
TransitGatewayConnect |
withTags(Tag... tags)
The tags for the attachment.
|
TransitGatewayConnect |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
|
TransitGatewayConnect |
withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
TransitGatewayConnect |
withTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the attachment from which the Connect attachment was created.
|
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 TransitGatewayConnect withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
transitGatewayAttachmentId
- The ID of the Connect attachment.public void setTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the attachment from which the Connect attachment was created.
transportTransitGatewayAttachmentId
- The ID of the attachment from which the Connect attachment was created.public String getTransportTransitGatewayAttachmentId()
The ID of the attachment from which the Connect attachment was created.
public TransitGatewayConnect withTransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the attachment from which the Connect attachment was created.
transportTransitGatewayAttachmentId
- The ID of the attachment from which the Connect attachment was created.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 TransitGatewayConnect withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public void setState(String state)
The state of the attachment.
state
- The state of the attachment.TransitGatewayAttachmentState
public String getState()
The state of the attachment.
TransitGatewayAttachmentState
public TransitGatewayConnect withState(String state)
The state of the attachment.
state
- The state of the attachment.TransitGatewayAttachmentState
public TransitGatewayConnect withState(TransitGatewayAttachmentState state)
The state of the attachment.
state
- The state of the attachment.TransitGatewayAttachmentState
public void setCreationTime(Date creationTime)
The creation time.
creationTime
- The creation time.public Date getCreationTime()
The creation time.
public TransitGatewayConnect withCreationTime(Date creationTime)
The creation time.
creationTime
- The creation time.public void setOptions(TransitGatewayConnectOptions options)
The Connect attachment options.
options
- The Connect attachment options.public TransitGatewayConnectOptions getOptions()
The Connect attachment options.
public TransitGatewayConnect withOptions(TransitGatewayConnectOptions options)
The Connect attachment options.
options
- The Connect attachment options.public List<Tag> getTags()
The tags for the attachment.
public void setTags(Collection<Tag> tags)
The tags for the attachment.
tags
- The tags for the attachment.public TransitGatewayConnect withTags(Tag... tags)
The tags for the 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 attachment.public TransitGatewayConnect withTags(Collection<Tag> tags)
The tags for the attachment.
tags
- The tags for the attachment.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayConnect clone()