@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PeeringAttachmentStatus extends Object implements Serializable, Cloneable
The status of the transit gateway peering attachment.
Constructor and Description |
---|
PeeringAttachmentStatus() |
Modifier and Type | Method and Description |
---|---|
PeeringAttachmentStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The status code.
|
String |
getMessage()
The status message, if applicable.
|
int |
hashCode() |
void |
setCode(String code)
The status code.
|
void |
setMessage(String message)
The status message, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
PeeringAttachmentStatus |
withCode(String code)
The status code.
|
PeeringAttachmentStatus |
withMessage(String message)
The status message, if applicable.
|
public void setCode(String code)
The status code.
code
- The status code.public String getCode()
The status code.
public PeeringAttachmentStatus withCode(String code)
The status code.
code
- The status code.public void setMessage(String message)
The status message, if applicable.
message
- The status message, if applicable.public String getMessage()
The status message, if applicable.
public PeeringAttachmentStatus withMessage(String message)
The status message, if applicable.
message
- The status message, if applicable.public String toString()
toString
in class Object
Object.toString()
public PeeringAttachmentStatus clone()
Copyright © 2021. All rights reserved.