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 |
setCode(VpcPeeringConnectionStateReasonCode 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 |
withCode(VpcPeeringConnectionStateReasonCode 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()
Constraints:
Allowed Values: initiating-request, pending-acceptance, active, deleted, rejected, failed, expired, provisioning, deleting
VpcPeeringConnectionStateReasonCodepublic void setCode(String code)
Constraints:
Allowed Values: initiating-request, pending-acceptance, active, deleted, rejected, failed, expired, provisioning, deleting
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic VpcPeeringConnectionStateReason withCode(String code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: initiating-request, pending-acceptance, active, deleted, rejected, failed, expired, provisioning, deleting
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic void setCode(VpcPeeringConnectionStateReasonCode code)
Constraints:
Allowed Values: initiating-request, pending-acceptance, active, deleted, rejected, failed, expired, provisioning, deleting
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic VpcPeeringConnectionStateReason withCode(VpcPeeringConnectionStateReasonCode code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: initiating-request, pending-acceptance, active, deleted, rejected, failed, expired, provisioning, deleting
code - The status of the VPC peering connection.VpcPeeringConnectionStateReasonCodepublic 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 ObjectObject.toString()public VpcPeeringConnectionStateReason clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.