@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestorePhoneNumberResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RestorePhoneNumberResult() |
Modifier and Type | Method and Description |
---|---|
RestorePhoneNumberResult |
clone() |
boolean |
equals(Object obj) |
PhoneNumber |
getPhoneNumber()
The restored phone number.
|
int |
hashCode() |
void |
setPhoneNumber(PhoneNumber phoneNumber)
The restored phone number.
|
String |
toString()
Returns a string representation of this object.
|
RestorePhoneNumberResult |
withPhoneNumber(PhoneNumber phoneNumber)
The restored phone number.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPhoneNumber(PhoneNumber phoneNumber)
The restored phone number.
phoneNumber
- The restored phone number.public PhoneNumber getPhoneNumber()
The restored phone number.
public RestorePhoneNumberResult withPhoneNumber(PhoneNumber phoneNumber)
The restored phone number.
phoneNumber
- The restored phone number.public String toString()
toString
in class Object
Object.toString()
public RestorePhoneNumberResult clone()