@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcPeeringConnectionStatus extends Object implements Serializable, Cloneable, StructuredPojo
Represents status information for a VPC peering connection. Status codes and messages are provided from EC2 (see VpcPeeringConnectionStateReason). Connection status information is also communicated as a fleet event.
| Constructor and Description |
|---|
VpcPeeringConnectionStatus() |
| Modifier and Type | Method and Description |
|---|---|
VpcPeeringConnectionStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
Code indicating the status of a VPC peering connection.
|
String |
getMessage()
Additional messaging associated with the connection status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
Code indicating the status of a VPC peering connection.
|
void |
setMessage(String message)
Additional messaging associated with the connection status.
|
String |
toString()
Returns a string representation of this object.
|
VpcPeeringConnectionStatus |
withCode(String code)
Code indicating the status of a VPC peering connection.
|
VpcPeeringConnectionStatus |
withMessage(String message)
Additional messaging associated with the connection status.
|
public void setCode(String code)
Code indicating the status of a VPC peering connection.
code - Code indicating the status of a VPC peering connection.public String getCode()
Code indicating the status of a VPC peering connection.
public VpcPeeringConnectionStatus withCode(String code)
Code indicating the status of a VPC peering connection.
code - Code indicating the status of a VPC peering connection.public void setMessage(String message)
Additional messaging associated with the connection status.
message - Additional messaging associated with the connection status.public String getMessage()
Additional messaging associated with the connection status.
public VpcPeeringConnectionStatus withMessage(String message)
Additional messaging associated with the connection status.
message - Additional messaging associated with the connection status.public String toString()
toString in class ObjectObject.toString()public VpcPeeringConnectionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.