Package com.amazonaws.services.ec2.model
Class VpcPeeringConnectionStateReason
java.lang.Object
com.amazonaws.services.ec2.model.VpcPeeringConnectionStateReason
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the status of a VPC peering connection.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The status of the VPC peering connection.A message that provides more information about the status, if applicable.int
hashCode()
void
The status of the VPC peering connection.void
The status of the VPC peering connection.void
setMessage
(String message) A message that provides more information about the status, if applicable.toString()
Returns a string representation of this object; useful for testing and debugging.The status of the VPC peering connection.The status of the VPC peering connection.withMessage
(String message) A message that provides more information about the status, if applicable.
-
Constructor Details
-
VpcPeeringConnectionStateReason
public VpcPeeringConnectionStateReason()
-
-
Method Details
-
setCode
The status of the VPC peering connection.
- Parameters:
code
- The status of the VPC peering connection.- See Also:
-
getCode
The status of the VPC peering connection.
- Returns:
- The status of the VPC peering connection.
- See Also:
-
withCode
The status of the VPC peering connection.
- Parameters:
code
- The status of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCode
The status of the VPC peering connection.
- Parameters:
code
- The status of the VPC peering connection.- See Also:
-
withCode
The status of the VPC peering connection.
- Parameters:
code
- The status of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMessage
A message that provides more information about the status, if applicable.
- Parameters:
message
- A message that provides more information about the status, if applicable.
-
getMessage
A message that provides more information about the status, if applicable.
- Returns:
- A message that provides more information about the status, if applicable.
-
withMessage
A message that provides more information about the status, if applicable.
- Parameters:
message
- A message that provides more information about the status, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-