@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcPeeringConnectionStateReason extends Object implements Serializable, Cloneable
Describes the status of a VPC peering connection.
Constructor and Description |
---|
VpcPeeringConnectionStateReason() |
Modifier and Type | Method and Description |
---|---|
VpcPeeringConnectionStateReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The status of the VPC peering connection.
|
String |
getMessage()
A message that provides more information about the status, if applicable.
|
int |
hashCode() |
void |
setCode(String code)
The status of the VPC peering connection.
|
void |
setCode(VpcPeeringConnectionStateReasonCode code)
The status of the VPC peering connection.
|
void |
setMessage(String message)
A message that provides more information about the status, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
VpcPeeringConnectionStateReason |
withCode(String code)
The status of the VPC peering connection.
|
VpcPeeringConnectionStateReason |
withCode(VpcPeeringConnectionStateReasonCode code)
The status of the VPC peering connection.
|
VpcPeeringConnectionStateReason |
withMessage(String message)
A message that provides more information about the status, if applicable.
|
public void setCode(String code)
The status of the VPC peering connection.
code
- The status of the VPC peering connection.VpcPeeringConnectionStateReasonCode
public String getCode()
The status of the VPC peering connection.
VpcPeeringConnectionStateReasonCode
public VpcPeeringConnectionStateReason withCode(String code)
The status of the VPC peering connection.
code
- The status of the VPC peering connection.VpcPeeringConnectionStateReasonCode
public void setCode(VpcPeeringConnectionStateReasonCode code)
The status of the VPC peering connection.
code
- The status of the VPC peering connection.VpcPeeringConnectionStateReasonCode
public VpcPeeringConnectionStateReason withCode(VpcPeeringConnectionStateReasonCode code)
The status of the VPC peering connection.
code
- The status of the VPC peering connection.VpcPeeringConnectionStateReasonCode
public void setMessage(String message)
A message that provides more information about the status, if applicable.
message
- A message that provides more information about the status, if applicable.public String getMessage()
A message that provides more information about the status, if applicable.
public VpcPeeringConnectionStateReason withMessage(String message)
A message that provides more information about the status, if applicable.
message
- A message that provides more information about the status, if applicable.public String toString()
toString
in class Object
Object.toString()
public VpcPeeringConnectionStateReason clone()