@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportPhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportPhoneNumberRequest() |
Modifier and Type | Method and Description |
---|---|
ImportPhoneNumberRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ImportPhoneNumberRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
ImportPhoneNumberRequest |
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.
|
String |
getPhoneNumberDescription()
The description of the phone number.
|
String |
getSourcePhoneNumberArn()
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
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.
|
void |
setPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
void |
setSourcePhoneNumberArn(String sourcePhoneNumberArn)
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
ImportPhoneNumberRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ImportPhoneNumberRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
ImportPhoneNumberRequest |
withPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
ImportPhoneNumberRequest |
withSourcePhoneNumberArn(String sourcePhoneNumberArn)
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint.
|
ImportPhoneNumberRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
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 setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public ImportPhoneNumberRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setSourcePhoneNumberArn(String sourcePhoneNumberArn)
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
sourcePhoneNumberArn
- The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is
from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.public String getSourcePhoneNumberArn()
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
public ImportPhoneNumberRequest withSourcePhoneNumberArn(String sourcePhoneNumberArn)
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
sourcePhoneNumberArn
- The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is
from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.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 ImportPhoneNumberRequest 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 ImportPhoneNumberRequest 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 ImportPhoneNumberRequest addTagsEntry(String key, String value)
public ImportPhoneNumberRequest 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.
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.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.
public ImportPhoneNumberRequest 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.
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.public String toString()
toString
in class Object
Object.toString()
public ImportPhoneNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()