@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 Object
Object.toString()
public VpcPeeringConnectionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.