@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectTransitGatewayPeeringAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RejectTransitGatewayPeeringAttachmentResult() |
Modifier and Type | Method and Description |
---|---|
RejectTransitGatewayPeeringAttachmentResult |
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.
|
RejectTransitGatewayPeeringAttachmentResult |
withTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public RejectTransitGatewayPeeringAttachmentResult()
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 RejectTransitGatewayPeeringAttachmentResult withTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
transitGatewayPeeringAttachment
- The transit gateway peering attachment.public String toString()
toString
in class Object
Object.toString()
public RejectTransitGatewayPeeringAttachmentResult clone()