@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkforcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListWorkforcesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListWorkforcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of workforces returned in the response.
|
String |
getNameContains()
A filter you can use to search for workforces using part of the workforce name.
|
String |
getNextToken()
A token to resume pagination.
|
String |
getSortBy()
Sort workforces using the workforce name or creation date.
|
String |
getSortOrder()
Sort workforces in ascending or descending order.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of workforces returned in the response.
|
void |
setNameContains(String nameContains)
A filter you can use to search for workforces using part of the workforce name.
|
void |
setNextToken(String nextToken)
A token to resume pagination.
|
void |
setSortBy(String sortBy)
Sort workforces using the workforce name or creation date.
|
void |
setSortOrder(String sortOrder)
Sort workforces in ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkforcesRequest |
withMaxResults(Integer maxResults)
The maximum number of workforces returned in the response.
|
ListWorkforcesRequest |
withNameContains(String nameContains)
A filter you can use to search for workforces using part of the workforce name.
|
ListWorkforcesRequest |
withNextToken(String nextToken)
A token to resume pagination.
|
ListWorkforcesRequest |
withSortBy(ListWorkforcesSortByOptions sortBy)
Sort workforces using the workforce name or creation date.
|
ListWorkforcesRequest |
withSortBy(String sortBy)
Sort workforces using the workforce name or creation date.
|
ListWorkforcesRequest |
withSortOrder(SortOrder sortOrder)
Sort workforces in ascending or descending order.
|
ListWorkforcesRequest |
withSortOrder(String sortOrder)
Sort workforces in ascending or descending order.
|
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, withSdkRequestTimeoutpublic void setSortBy(String sortBy)
Sort workforces using the workforce name or creation date.
sortBy - Sort workforces using the workforce name or creation date.ListWorkforcesSortByOptionspublic String getSortBy()
Sort workforces using the workforce name or creation date.
ListWorkforcesSortByOptionspublic ListWorkforcesRequest withSortBy(String sortBy)
Sort workforces using the workforce name or creation date.
sortBy - Sort workforces using the workforce name or creation date.ListWorkforcesSortByOptionspublic ListWorkforcesRequest withSortBy(ListWorkforcesSortByOptions sortBy)
Sort workforces using the workforce name or creation date.
sortBy - Sort workforces using the workforce name or creation date.ListWorkforcesSortByOptionspublic void setSortOrder(String sortOrder)
Sort workforces in ascending or descending order.
sortOrder - Sort workforces in ascending or descending order.SortOrderpublic String getSortOrder()
Sort workforces in ascending or descending order.
SortOrderpublic ListWorkforcesRequest withSortOrder(String sortOrder)
Sort workforces in ascending or descending order.
sortOrder - Sort workforces in ascending or descending order.SortOrderpublic ListWorkforcesRequest withSortOrder(SortOrder sortOrder)
Sort workforces in ascending or descending order.
sortOrder - Sort workforces in ascending or descending order.SortOrderpublic void setNameContains(String nameContains)
A filter you can use to search for workforces using part of the workforce name.
nameContains - A filter you can use to search for workforces using part of the workforce name.public String getNameContains()
A filter you can use to search for workforces using part of the workforce name.
public ListWorkforcesRequest withNameContains(String nameContains)
A filter you can use to search for workforces using part of the workforce name.
nameContains - A filter you can use to search for workforces using part of the workforce name.public void setNextToken(String nextToken)
A token to resume pagination.
nextToken - A token to resume pagination.public String getNextToken()
A token to resume pagination.
public ListWorkforcesRequest withNextToken(String nextToken)
A token to resume pagination.
nextToken - A token to resume pagination.public void setMaxResults(Integer maxResults)
The maximum number of workforces returned in the response.
maxResults - The maximum number of workforces returned in the response.public Integer getMaxResults()
The maximum number of workforces returned in the response.
public ListWorkforcesRequest withMaxResults(Integer maxResults)
The maximum number of workforces returned in the response.
maxResults - The maximum number of workforces returned in the response.public String toString()
toString in class ObjectObject.toString()public ListWorkforcesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()