@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 |
getInstanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through.
|
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 |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
number inbound traffic is routed through. You must enter InstanceId
or TargetArn
.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
InstanceId
or
TargetArn
.public ClaimPhoneNumberRequest withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
number inbound traffic is routed through. You must enter InstanceId
or TargetArn
.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
instanceId
- The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or
TargetArn
.public String getInstanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
InstanceId
or
TargetArn
.public ClaimPhoneNumberRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
instanceId
- The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or
TargetArn
.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. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public ClaimPhoneNumberRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.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. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
public ClaimPhoneNumberRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
public String toString()
toString
in class Object
Object.toString()
public ClaimPhoneNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()