@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; useful for testing and debugging. 
 | 
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.VpcPeeringConnectionStateReasonCodepublic String getCode()
The status of the VPC peering connection.
VpcPeeringConnectionStateReasonCodepublic VpcPeeringConnectionStateReason withCode(String code)
The status of the VPC peering connection.
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic void setCode(VpcPeeringConnectionStateReasonCode code)
The status of the VPC peering connection.
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic VpcPeeringConnectionStateReason withCode(VpcPeeringConnectionStateReasonCode code)
The status of the VPC peering connection.
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic 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 ObjectObject.toString()public VpcPeeringConnectionStateReason clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.