@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| ListWorkersRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListWorkersRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getFarmId()
 The farm ID connected to the workers. | 
| String | getFleetId()
 The fleet ID of the workers. | 
| Integer | getMaxResults()
 The maximum number of results to return. | 
| String | getNextToken()
 The token for the next set of results, or  nullto start from the beginning. | 
| int | hashCode() | 
| void | setFarmId(String farmId)
 The farm ID connected to the workers. | 
| void | setFleetId(String fleetId)
 The fleet ID of the workers. | 
| void | setMaxResults(Integer maxResults)
 The maximum number of results to return. | 
| void | setNextToken(String nextToken)
 The token for the next set of results, or  nullto start from the beginning. | 
| String | toString()Returns a string representation of this object. | 
| ListWorkersRequest | withFarmId(String farmId)
 The farm ID connected to the workers. | 
| ListWorkersRequest | withFleetId(String fleetId)
 The fleet ID of the workers. | 
| ListWorkersRequest | withMaxResults(Integer maxResults)
 The maximum number of results to return. | 
| ListWorkersRequest | withNextToken(String nextToken)
 The token for the next set of results, or  nullto start from the beginning. | 
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 setFarmId(String farmId)
The farm ID connected to the workers.
farmId - The farm ID connected to the workers.public String getFarmId()
The farm ID connected to the workers.
public ListWorkersRequest withFarmId(String farmId)
The farm ID connected to the workers.
farmId - The farm ID connected to the workers.public void setFleetId(String fleetId)
The fleet ID of the workers.
fleetId - The fleet ID of the workers.public String getFleetId()
The fleet ID of the workers.
public ListWorkersRequest withFleetId(String fleetId)
The fleet ID of the workers.
fleetId - The fleet ID of the workers.public void setMaxResults(Integer maxResults)
 The maximum number of results to return. Use this parameter with NextToken to get results as a set
 of sequential pages.
 
maxResults - The maximum number of results to return. Use this parameter with NextToken to get results as
        a set of sequential pages.public Integer getMaxResults()
 The maximum number of results to return. Use this parameter with NextToken to get results as a set
 of sequential pages.
 
NextToken to get results as
         a set of sequential pages.public ListWorkersRequest withMaxResults(Integer maxResults)
 The maximum number of results to return. Use this parameter with NextToken to get results as a set
 of sequential pages.
 
maxResults - The maximum number of results to return. Use this parameter with NextToken to get results as
        a set of sequential pages.public void setNextToken(String nextToken)
 The token for the next set of results, or null to start from the beginning.
 
nextToken - The token for the next set of results, or null to start from the beginning.public String getNextToken()
 The token for the next set of results, or null to start from the beginning.
 
null to start from the beginning.public ListWorkersRequest withNextToken(String nextToken)
 The token for the next set of results, or null to start from the beginning.
 
nextToken - The token for the next set of results, or null to start from the beginning.public String toString()
toString in class ObjectObject.toString()public ListWorkersRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()