public class ListContactReferencesRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
For the specified referenceTypes, returns a list of references
associated with the contact.
| Constructor and Description |
|---|
ListContactReferencesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactId()
The identifier of the initial contact.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.util.List<java.lang.String> |
getReferenceTypes()
The type of reference.
|
int |
hashCode() |
void |
setContactId(java.lang.String contactId)
The identifier of the initial contact.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setReferenceTypes(java.util.Collection<java.lang.String> referenceTypes)
The type of reference.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListContactReferencesRequest |
withContactId(java.lang.String contactId)
The identifier of the initial contact.
|
ListContactReferencesRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
ListContactReferencesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListContactReferencesRequest |
withReferenceTypes(java.util.Collection<java.lang.String> referenceTypes)
The type of reference.
|
ListContactReferencesRequest |
withReferenceTypes(java.lang.String... referenceTypes)
The type of reference.
|
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 ListContactReferencesRequest 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 initial contact.
Constraints:
Length: 1 - 256
The identifier of the initial contact.
public void setContactId(java.lang.String contactId)
The identifier of the initial contact.
Constraints:
Length: 1 - 256
contactId - The identifier of the initial contact.
public ListContactReferencesRequest withContactId(java.lang.String contactId)
The identifier of the initial contact.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId - The identifier of the initial contact.
public java.util.List<java.lang.String> getReferenceTypes()
The type of reference.
The type of reference.
public void setReferenceTypes(java.util.Collection<java.lang.String> referenceTypes)
The type of reference.
referenceTypes - The type of reference.
public ListContactReferencesRequest withReferenceTypes(java.lang.String... referenceTypes)
The type of reference.
Returns a reference to this object so that method calls can be chained together.
referenceTypes - The type of reference.
public ListContactReferencesRequest withReferenceTypes(java.util.Collection<java.lang.String> referenceTypes)
The type of reference.
Returns a reference to this object so that method calls can be chained together.
referenceTypes - The type of reference.
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
public ListContactReferencesRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
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