@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ClaimPhoneNumberRequest() |
Modifier and Type | Method and Description |
---|---|
ClaimPhoneNumberRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ClaimPhoneNumberRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
ClaimPhoneNumberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getPhoneNumber()
The phone number you want to claim.
|
String |
getPhoneNumberDescription()
The description of the phone number.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPhoneNumber(String phoneNumber)
The phone number you want to claim.
|
void |
setPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
String |
toString()
Returns a string representation of this object.
|
ClaimPhoneNumberRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ClaimPhoneNumberRequest |
withPhoneNumber(String phoneNumber)
The phone number you want to claim.
|
ClaimPhoneNumberRequest |
withPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
ClaimPhoneNumberRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
ClaimPhoneNumberRequest |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
public ClaimPhoneNumberRequest withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.public void setPhoneNumber(String phoneNumber)
The phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
phoneNumber
- The phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.public String getPhoneNumber()
The phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
[+] [country code] [subscriber number including area code]
.public ClaimPhoneNumberRequest withPhoneNumber(String phoneNumber)
The phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
phoneNumber
- The phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.public void setPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
phoneNumberDescription
- The description of the phone number.public String getPhoneNumberDescription()
The description of the phone number.
public ClaimPhoneNumberRequest withPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
phoneNumberDescription
- The description of the phone number.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public ClaimPhoneNumberRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public ClaimPhoneNumberRequest addTagsEntry(String key, String value)
public ClaimPhoneNumberRequest clearTagsEntries()
public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public ClaimPhoneNumberRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String toString()
toString
in class Object
Object.toString()
public ClaimPhoneNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()