@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayAssociation extends Object implements Serializable, Cloneable
Describes an association between a resource attachment and a transit gateway route table.
| Constructor and Description |
|---|
TransitGatewayAssociation() |
| Modifier and Type | Method and Description |
|---|---|
TransitGatewayAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The resource type.
|
String |
getState()
The state of the association.
|
String |
getTransitGatewayAttachmentId()
The ID of the attachment.
|
String |
getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setState(String state)
The state of the association.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
void |
setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayAssociation |
withResourceId(String resourceId)
The ID of the resource.
|
TransitGatewayAssociation |
withResourceType(String resourceType)
The resource type.
|
TransitGatewayAssociation |
withResourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type.
|
TransitGatewayAssociation |
withState(String state)
The state of the association.
|
TransitGatewayAssociation |
withState(TransitGatewayAssociationState state)
The state of the association.
|
TransitGatewayAssociation |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
TransitGatewayAssociation |
withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
public void setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId - The ID of the transit gateway route table.public String getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
public TransitGatewayAssociation withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId - The ID of the transit gateway route table.public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.public String getTransitGatewayAttachmentId()
The ID of the attachment.
public TransitGatewayAssociation withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.public void setResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String getResourceId()
The ID of the resource.
public TransitGatewayAssociation withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public void setResourceType(String resourceType)
The resource type. Note that the tgw-peering resource type has been deprecated.
resourceType - The resource type. Note that the tgw-peering resource type has been deprecated.TransitGatewayAttachmentResourceTypepublic String getResourceType()
The resource type. Note that the tgw-peering resource type has been deprecated.
tgw-peering resource type has been deprecated.TransitGatewayAttachmentResourceTypepublic TransitGatewayAssociation withResourceType(String resourceType)
The resource type. Note that the tgw-peering resource type has been deprecated.
resourceType - The resource type. Note that the tgw-peering resource type has been deprecated.TransitGatewayAttachmentResourceTypepublic TransitGatewayAssociation withResourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type. Note that the tgw-peering resource type has been deprecated.
resourceType - The resource type. Note that the tgw-peering resource type has been deprecated.TransitGatewayAttachmentResourceTypepublic void setState(String state)
The state of the association.
state - The state of the association.TransitGatewayAssociationStatepublic String getState()
The state of the association.
TransitGatewayAssociationStatepublic TransitGatewayAssociation withState(String state)
The state of the association.
state - The state of the association.TransitGatewayAssociationStatepublic TransitGatewayAssociation withState(TransitGatewayAssociationState state)
The state of the association.
state - The state of the association.TransitGatewayAssociationStatepublic String toString()
toString in class ObjectObject.toString()public TransitGatewayAssociation clone()