@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayPeeringAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTransitGatewayPeeringAttachmentResult() |
Modifier and Type | Method and Description |
---|---|
CreateTransitGatewayPeeringAttachmentResult |
clone() |
boolean |
equals(Object obj) |
TransitGatewayPeeringAttachment |
getTransitGatewayPeeringAttachment()
The transit gateway peering attachment.
|
int |
hashCode() |
void |
setTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayPeeringAttachmentResult |
withTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateTransitGatewayPeeringAttachmentResult()
public void setTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
transitGatewayPeeringAttachment
- The transit gateway peering attachment.public TransitGatewayPeeringAttachment getTransitGatewayPeeringAttachment()
The transit gateway peering attachment.
public CreateTransitGatewayPeeringAttachmentResult withTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
transitGatewayPeeringAttachment
- The transit gateway peering attachment.public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayPeeringAttachmentResult clone()