com.amazonaws.services.ec2.model
Class VpcPeeringConnectionStateReason

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VpcPeeringConnectionStateReason
All Implemented Interfaces:
java.io.Serializable

public class VpcPeeringConnectionStateReason
extends java.lang.Object
implements java.io.Serializable

Describes the status of a VPC peering connection.

See Also:
Serialized Form

Constructor Summary
VpcPeeringConnectionStateReason()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
          The status of the VPC peering connection.
 java.lang.String getMessage()
          A message that provides more information about the status, if applicable.
 int hashCode()
           
 void setCode(java.lang.String code)
          The status of the VPC peering connection.
 void setMessage(java.lang.String message)
          A message that provides more information about the status, if applicable.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VpcPeeringConnectionStateReason withCode(java.lang.String code)
          The status of the VPC peering connection.
 VpcPeeringConnectionStateReason withMessage(java.lang.String message)
          A message that provides more information about the status, if applicable.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VpcPeeringConnectionStateReason

public VpcPeeringConnectionStateReason()
Method Detail

getCode

public java.lang.String getCode()
The status of the VPC peering connection.

Returns:
The status of the VPC peering connection.

setCode

public void setCode(java.lang.String code)
The status of the VPC peering connection.

Parameters:
code - The status of the VPC peering connection.

withCode

public VpcPeeringConnectionStateReason withCode(java.lang.String code)
The status of the VPC peering connection.

Returns a reference to this object so that method calls can be chained together.

Parameters:
code - The status of the VPC peering connection.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessage

public java.lang.String getMessage()
A message that provides more information about the status, if applicable.

Returns:
A message that provides more information about the status, if applicable.

setMessage

public void setMessage(java.lang.String message)
A message that provides more information about the status, if applicable.

Parameters:
message - A message that provides more information about the status, if applicable.

withMessage

public VpcPeeringConnectionStateReason withMessage(java.lang.String message)
A message that provides more information about the status, if applicable.

Returns a reference to this object so that method calls can be chained together.

Parameters:
message - A message that provides more information about the status, if applicable.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.