@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayRouteTableAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Describes a transit gateway route table attachment.
Constructor and Description |
---|
TransitGatewayRouteTableAttachment() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayRouteTableAttachment |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment() |
String |
getPeeringId()
The ID of the peering attachment.
|
String |
getTransitGatewayRouteTableArn()
The ARN of the transit gateway attachment route table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachment(Attachment attachment) |
void |
setPeeringId(String peeringId)
The ID of the peering attachment.
|
void |
setTransitGatewayRouteTableArn(String transitGatewayRouteTableArn)
The ARN of the transit gateway attachment route table.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayRouteTableAttachment |
withAttachment(Attachment attachment) |
TransitGatewayRouteTableAttachment |
withPeeringId(String peeringId)
The ID of the peering attachment.
|
TransitGatewayRouteTableAttachment |
withTransitGatewayRouteTableArn(String transitGatewayRouteTableArn)
The ARN of the transit gateway attachment route table.
|
public void setAttachment(Attachment attachment)
attachment
- public Attachment getAttachment()
public TransitGatewayRouteTableAttachment withAttachment(Attachment attachment)
attachment
- public void setPeeringId(String peeringId)
The ID of the peering attachment.
peeringId
- The ID of the peering attachment.public String getPeeringId()
The ID of the peering attachment.
public TransitGatewayRouteTableAttachment withPeeringId(String peeringId)
The ID of the peering attachment.
peeringId
- The ID of the peering attachment.public void setTransitGatewayRouteTableArn(String transitGatewayRouteTableArn)
The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
transitGatewayRouteTableArn
- The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.public String getTransitGatewayRouteTableArn()
The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.public TransitGatewayRouteTableAttachment withTransitGatewayRouteTableArn(String transitGatewayRouteTableArn)
The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
transitGatewayRouteTableArn
- The ARN of the transit gateway attachment route table. For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayRouteTableAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.