@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TagContactRequest() |
Modifier and Type | Method and Description |
---|---|
TagContactRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
TagContactRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
TagContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactId()
The identifier of the contact in this instance of Amazon Connect.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
Map<String,String> |
getTags()
The tags to be assigned to the contact resource.
|
int |
hashCode() |
void |
setContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setTags(Map<String,String> tags)
The tags to be assigned to the contact resource.
|
String |
toString()
Returns a string representation of this object.
|
TagContactRequest |
withContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
TagContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
TagContactRequest |
withTags(Map<String,String> tags)
The tags to be assigned to the contact 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 setContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
contactId
- The identifier of the contact in this instance of Amazon Connect.public String getContactId()
The identifier of the contact in this instance of Amazon Connect.
public TagContactRequest withContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
contactId
- The identifier of the contact in this instance of Amazon Connect.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 TagContactRequest 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 Map<String,String> getTags()
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
Authorization is not supported by this tag.
public void setTags(Map<String,String> tags)
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
tags
- The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"}
}. Authorization is not supported by this tag.
public TagContactRequest withTags(Map<String,String> tags)
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
tags
- The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"}
}. Authorization is not supported by this tag.
public TagContactRequest addTagsEntry(String key, String value)
public TagContactRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public TagContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()