@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the phone number.
Constructor and Description |
---|
PhoneNumberStatus() |
Modifier and Type | Method and Description |
---|---|
PhoneNumberStatus |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The status message.
|
String |
getStatus()
The status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The status message.
|
void |
setStatus(String status)
The status.
|
String |
toString()
Returns a string representation of this object.
|
PhoneNumberStatus |
withMessage(String message)
The status message.
|
PhoneNumberStatus |
withStatus(PhoneNumberWorkflowStatus status)
The status.
|
PhoneNumberStatus |
withStatus(String status)
The status.
|
public void setStatus(String status)
The status.
status
- The status.PhoneNumberWorkflowStatus
public String getStatus()
The status.
PhoneNumberWorkflowStatus
public PhoneNumberStatus withStatus(String status)
The status.
status
- The status.PhoneNumberWorkflowStatus
public PhoneNumberStatus withStatus(PhoneNumberWorkflowStatus status)
The status.
status
- The status.PhoneNumberWorkflowStatus
public void setMessage(String message)
The status message.
message
- The status message.public String getMessage()
The status message.
public PhoneNumberStatus withMessage(String message)
The status message.
message
- The status message.public String toString()
toString
in class Object
Object.toString()
public PhoneNumberStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.