@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayPrefixListAttachment extends Object implements Serializable, Cloneable
Describes a transit gateway prefix list attachment.
| Constructor and Description |
|---|
TransitGatewayPrefixListAttachment() |
| Modifier and Type | Method and Description |
|---|---|
TransitGatewayPrefixListAttachment |
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.
|
TransitGatewayPrefixListAttachment |
withResourceId(String resourceId)
The ID of the resource.
|
TransitGatewayPrefixListAttachment |
withResourceType(String resourceType)
The resource type.
|
TransitGatewayPrefixListAttachment |
withResourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type.
|
TransitGatewayPrefixListAttachment |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
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 TransitGatewayPrefixListAttachment withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.public void setResourceType(String resourceType)
The resource type.
resourceType - The resource type.TransitGatewayAttachmentResourceTypepublic String getResourceType()
The resource type.
TransitGatewayAttachmentResourceTypepublic TransitGatewayPrefixListAttachment withResourceType(String resourceType)
The resource type.
resourceType - The resource type.TransitGatewayAttachmentResourceTypepublic TransitGatewayPrefixListAttachment withResourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type.
resourceType - The resource type.TransitGatewayAttachmentResourceTypepublic void setResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String getResourceId()
The ID of the resource.
public TransitGatewayPrefixListAttachment withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String toString()
toString in class ObjectObject.toString()public TransitGatewayPrefixListAttachment clone()
Copyright © 2020. All rights reserved.