@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClaimPhoneNumberResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ClaimPhoneNumberResult() |
Modifier and Type | Method and Description |
---|---|
ClaimPhoneNumberResult |
clone() |
boolean |
equals(Object obj) |
String |
getPhoneNumberArn()
The Amazon Resource Name (ARN) of the phone number.
|
String |
getPhoneNumberId()
A unique identifier for the phone number.
|
int |
hashCode() |
void |
setPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
void |
setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
String |
toString()
Returns a string representation of this object.
|
ClaimPhoneNumberResult |
withPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
ClaimPhoneNumberResult |
withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId
- A unique identifier for the phone number.public String getPhoneNumberId()
A unique identifier for the phone number.
public ClaimPhoneNumberResult withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId
- A unique identifier for the phone number.public void setPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
phoneNumberArn
- The Amazon Resource Name (ARN) of the phone number.public String getPhoneNumberArn()
The Amazon Resource Name (ARN) of the phone number.
public ClaimPhoneNumberResult withPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
phoneNumberArn
- The Amazon Resource Name (ARN) of the phone number.public String toString()
toString
in class Object
Object.toString()
public ClaimPhoneNumberResult clone()