@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTemplatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTemplatesRequest |
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.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getStatus()
A list of status values to filter on.
|
int |
hashCode() |
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setStatus(Collection<String> status)
A list of status values to filter on.
|
String |
toString()
Returns a string representation of this object.
|
ListTemplatesRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
ListTemplatesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListTemplatesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListTemplatesRequest |
withStatus(Collection<String> status)
A list of status values to filter on.
|
ListTemplatesRequest |
withStatus(String... status)
A list of status values to filter on.
|
ListTemplatesRequest |
withStatus(TemplateStatus... status)
A list of status values to filter on.
|
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 ListTemplatesRequest withDomainId(String domainId)
The unique identifier of the Cases domain.
domainId
- The unique identifier of the Cases domain.public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public ListTemplatesRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.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 ListTemplatesRequest 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 List<String> getStatus()
A list of status values to filter on.
TemplateStatus
public void setStatus(Collection<String> status)
A list of status values to filter on.
status
- A list of status values to filter on.TemplateStatus
public ListTemplatesRequest withStatus(String... status)
A list of status values to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setStatus(java.util.Collection)
or withStatus(java.util.Collection)
if you want to override the
existing values.
status
- A list of status values to filter on.TemplateStatus
public ListTemplatesRequest withStatus(Collection<String> status)
A list of status values to filter on.
status
- A list of status values to filter on.TemplateStatus
public ListTemplatesRequest withStatus(TemplateStatus... status)
A list of status values to filter on.
status
- A list of status values to filter on.TemplateStatus
public String toString()
toString
in class Object
Object.toString()
public ListTemplatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()