@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchCasesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchCasesRequest() |
Modifier and Type | Method and Description |
---|---|
SearchCasesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainId()
The unique identifier of the Cases domain.
|
List<FieldIdentifier> |
getFields()
The list of field identifiers to be returned as part of the response.
|
CaseFilter |
getFilter()
A list of filter objects.
|
Integer |
getMaxResults()
The maximum number of cases to return.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getSearchTerm()
A word or phrase used to perform a quick search.
|
List<Sort> |
getSorts()
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
|
int |
hashCode() |
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setFields(Collection<FieldIdentifier> fields)
The list of field identifiers to be returned as part of the response.
|
void |
setFilter(CaseFilter filter)
A list of filter objects.
|
void |
setMaxResults(Integer maxResults)
The maximum number of cases to return.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setSearchTerm(String searchTerm)
A word or phrase used to perform a quick search.
|
void |
setSorts(Collection<Sort> sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
|
String |
toString()
Returns a string representation of this object.
|
SearchCasesRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
SearchCasesRequest |
withFields(Collection<FieldIdentifier> fields)
The list of field identifiers to be returned as part of the response.
|
SearchCasesRequest |
withFields(FieldIdentifier... fields)
The list of field identifiers to be returned as part of the response.
|
SearchCasesRequest |
withFilter(CaseFilter filter)
A list of filter objects.
|
SearchCasesRequest |
withMaxResults(Integer maxResults)
The maximum number of cases to return.
|
SearchCasesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
SearchCasesRequest |
withSearchTerm(String searchTerm)
A word or phrase used to perform a quick search.
|
SearchCasesRequest |
withSorts(Collection<Sort> sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
|
SearchCasesRequest |
withSorts(Sort... sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
|
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 setDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public String getDomainId()
The unique identifier of the Cases domain.
public SearchCasesRequest withDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public List<FieldIdentifier> getFields()
The list of field identifiers to be returned as part of the response.
public void setFields(Collection<FieldIdentifier> fields)
The list of field identifiers to be returned as part of the response.
fields
- The list of field identifiers to be returned as part of the response.public SearchCasesRequest withFields(FieldIdentifier... fields)
The list of field identifiers to be returned as part of the response.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- The list of field identifiers to be returned as part of the response.public SearchCasesRequest withFields(Collection<FieldIdentifier> fields)
The list of field identifiers to be returned as part of the response.
fields
- The list of field identifiers to be returned as part of the response.public void setFilter(CaseFilter filter)
A list of filter objects.
filter
- A list of filter objects.public CaseFilter getFilter()
A list of filter objects.
public SearchCasesRequest withFilter(CaseFilter filter)
A list of filter objects.
filter
- A list of filter objects.public void setMaxResults(Integer maxResults)
The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.
maxResults
- The maximum number of cases to return. The current maximum supported value is 25. This is also the default
value when no other value is provided.public Integer getMaxResults()
The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.
public SearchCasesRequest withMaxResults(Integer maxResults)
The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.
maxResults
- The maximum number of cases to return. The current maximum supported value is 25. This is also the default
value when no other value is provided.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.
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.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.
public SearchCasesRequest 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.
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.public void setSearchTerm(String searchTerm)
A word or phrase used to perform a quick search.
searchTerm
- A word or phrase used to perform a quick search.public String getSearchTerm()
A word or phrase used to perform a quick search.
public SearchCasesRequest withSearchTerm(String searchTerm)
A word or phrase used to perform a quick search.
searchTerm
- A word or phrase used to perform a quick search.public List<Sort> getSorts()
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
public void setSorts(Collection<Sort> sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
sorts
- A list of sorts where each sort specifies a field and their sort order to be applied to the results.public SearchCasesRequest withSorts(Sort... sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
NOTE: This method appends the values to the existing list (if any). Use
setSorts(java.util.Collection)
or withSorts(java.util.Collection)
if you want to override the
existing values.
sorts
- A list of sorts where each sort specifies a field and their sort order to be applied to the results.public SearchCasesRequest withSorts(Collection<Sort> sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
sorts
- A list of sorts where each sort specifies a field and their sort order to be applied to the results.public String toString()
toString
in class Object
Object.toString()
public SearchCasesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()