@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayRouteAttachment extends Object implements Serializable, Cloneable
Describes a route attachment.
Constructor and Description |
---|
TransitGatewayRouteAttachment() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayRouteAttachment |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The resource type.
|
String |
getTransitGatewayAttachmentId()
The ID of the attachment.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayRouteAttachment |
withResourceId(String resourceId)
The ID of the resource.
|
TransitGatewayRouteAttachment |
withResourceType(String resourceType)
The resource type.
|
TransitGatewayRouteAttachment |
withResourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type.
|
TransitGatewayRouteAttachment |
withTransitGatewayAttachmentId(String 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 TransitGatewayRouteAttachment withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.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 TransitGatewayRouteAttachment withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId
- The ID of the attachment.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.TransitGatewayAttachmentResourceType
public String getResourceType()
The resource type. Note that the tgw-peering
resource type has been deprecated.
tgw-peering
resource type has been deprecated.TransitGatewayAttachmentResourceType
public TransitGatewayRouteAttachment 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.TransitGatewayAttachmentResourceType
public TransitGatewayRouteAttachment 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.TransitGatewayAttachmentResourceType
public String toString()
toString
in class Object
Object.toString()
public TransitGatewayRouteAttachment clone()