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 |
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 |
withMessage(String message)
A message that provides more information about the status, if
applicable.
|
public String getCode()
public void setCode(String code)
code
- The status of the VPC peering connection.public VpcPeeringConnectionStateReason withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The status of the VPC peering connection.public String getMessage()
public void setMessage(String message)
message
- A message that provides more information about the status, if
applicable.public VpcPeeringConnectionStateReason withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- A message that provides more information about the status, if
applicable.public String toString()
toString
in class Object
Object.toString()
public VpcPeeringConnectionStateReason clone()
Copyright © 2015. All rights reserved.