@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContactReferencesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListContactReferencesRequest() |
Modifier and Type | Method and Description |
---|---|
ListContactReferencesRequest |
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 initial contact.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getReferenceTypes()
The type of reference.
|
int |
hashCode() |
void |
setContactId(String contactId)
The identifier of the initial contact.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setReferenceTypes(Collection<String> referenceTypes)
The type of reference.
|
String |
toString()
Returns a string representation of this object.
|
ListContactReferencesRequest |
withContactId(String contactId)
The identifier of the initial contact.
|
ListContactReferencesRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
ListContactReferencesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListContactReferencesRequest |
withReferenceTypes(Collection<String> referenceTypes)
The type of reference.
|
ListContactReferencesRequest |
withReferenceTypes(ReferenceType... referenceTypes)
The type of reference.
|
ListContactReferencesRequest |
withReferenceTypes(String... referenceTypes)
The type of reference.
|
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 ListContactReferencesRequest 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 setContactId(String contactId)
The identifier of the initial contact.
contactId
- The identifier of the initial contact.public String getContactId()
The identifier of the initial contact.
public ListContactReferencesRequest withContactId(String contactId)
The identifier of the initial contact.
contactId
- The identifier of the initial contact.public List<String> getReferenceTypes()
The type of reference.
ReferenceType
public void setReferenceTypes(Collection<String> referenceTypes)
The type of reference.
referenceTypes
- The type of reference.ReferenceType
public ListContactReferencesRequest withReferenceTypes(String... referenceTypes)
The type of reference.
NOTE: This method appends the values to the existing list (if any). Use
setReferenceTypes(java.util.Collection)
or withReferenceTypes(java.util.Collection)
if you want
to override the existing values.
referenceTypes
- The type of reference.ReferenceType
public ListContactReferencesRequest withReferenceTypes(Collection<String> referenceTypes)
The type of reference.
referenceTypes
- The type of reference.ReferenceType
public ListContactReferencesRequest withReferenceTypes(ReferenceType... referenceTypes)
The type of reference.
referenceTypes
- The type of reference.ReferenceType
public void setNextToken(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 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.
This is not expected to be set, because the value returned in the previous response is always null.
public ListContactReferencesRequest withNextToken(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 String toString()
toString
in class Object
Object.toString()
public ListContactReferencesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()