public class UpdateContactRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request.
You can add or update user-defined contact information for both ongoing and completed contacts.
| Constructor and Description |
|---|
UpdateContactRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateContactRequest |
addReferencesEntry(java.lang.String key,
Reference value)
Well-formed data on contact, shown to agents on Contact Control Panel
(CCP).
|
UpdateContactRequest |
clearReferencesEntries()
Removes all the entries added into References.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactId()
The identifier of the contact.
|
java.lang.String |
getDescription()
The description of the contact.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the contact.
|
java.util.Map<java.lang.String,Reference> |
getReferences()
Well-formed data on contact, shown to agents on Contact Control Panel
(CCP).
|
int |
hashCode() |
void |
setContactId(java.lang.String contactId)
The identifier of the contact.
|
void |
setDescription(java.lang.String description)
The description of the contact.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the contact.
|
void |
setReferences(java.util.Map<java.lang.String,Reference> references)
Well-formed data on contact, shown to agents on Contact Control Panel
(CCP).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateContactRequest |
withContactId(java.lang.String contactId)
The identifier of the contact.
|
UpdateContactRequest |
withDescription(java.lang.String description)
The description of the contact.
|
UpdateContactRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateContactRequest |
withName(java.lang.String name)
The name of the contact.
|
UpdateContactRequest |
withReferences(java.util.Map<java.lang.String,Reference> references)
Well-formed data on contact, shown to agents on Contact Control Panel
(CCP).
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public UpdateContactRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getContactId()
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
Constraints:
Length: 1 - 256
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
public void setContactId(java.lang.String contactId)
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
public UpdateContactRequest withContactId(java.lang.String contactId)
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
public java.lang.String getName()
The name of the contact.
Constraints:
Length: 0 - 512
The name of the contact.
public void setName(java.lang.String name)
The name of the contact.
Constraints:
Length: 0 - 512
name - The name of the contact.
public UpdateContactRequest withName(java.lang.String name)
The name of the contact.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
name - The name of the contact.
public java.lang.String getDescription()
The description of the contact.
Constraints:
Length: 0 - 4096
The description of the contact.
public void setDescription(java.lang.String description)
The description of the contact.
Constraints:
Length: 0 - 4096
description - The description of the contact.
public UpdateContactRequest withDescription(java.lang.String description)
The description of the contact.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
description - The description of the contact.
public java.util.Map<java.lang.String,Reference> getReferences()
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
public void setReferences(java.util.Map<java.lang.String,Reference> references)
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
references - Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
public UpdateContactRequest withReferences(java.util.Map<java.lang.String,Reference> references)
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
Returns a reference to this object so that method calls can be chained together.
references - Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
public UpdateContactRequest addReferencesEntry(java.lang.String key, Reference value)
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
The method adds a new key-value pair into References parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into References.value - The corresponding value of the entry to be added into
References.public UpdateContactRequest clearReferencesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object