@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2VpcPeeringConnectionStatusDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the status of the VPC peering connection.
| Constructor and Description |
|---|
AwsEc2VpcPeeringConnectionStatusDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2VpcPeeringConnectionStatusDetails |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String 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.
|
AwsEc2VpcPeeringConnectionStatusDetails |
withCode(String code)
The status of the VPC peering connection.
|
AwsEc2VpcPeeringConnectionStatusDetails |
withMessage(String message)
A message that provides more information about the status, if applicable.
|
public AwsEc2VpcPeeringConnectionStatusDetails()
public void setCode(String code)
The status of the VPC peering connection.
code - The status of the VPC peering connection.public String getCode()
The status of the VPC peering connection.
public AwsEc2VpcPeeringConnectionStatusDetails withCode(String code)
The status of the VPC peering connection.
code - The status of the VPC peering connection.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 AwsEc2VpcPeeringConnectionStatusDetails 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 AwsEc2VpcPeeringConnectionStatusDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.