@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFarmsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListFarmsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListFarmsRequest |
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 results to return.
|
String |
getNextToken()
The token for the next set of results, or
null to start from the beginning. |
String |
getPrincipalId()
The principal ID of the member to list on the farm.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or
null to start from the beginning. |
void |
setPrincipalId(String principalId)
The principal ID of the member to list on the farm.
|
String |
toString()
Returns a string representation of this object.
|
ListFarmsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
ListFarmsRequest |
withNextToken(String nextToken)
The token for the next set of results, or
null to start from the beginning. |
ListFarmsRequest |
withPrincipalId(String principalId)
The principal ID of the member to list on the farm.
|
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 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 ListFarmsRequest 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 ListFarmsRequest 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 void setPrincipalId(String principalId)
The principal ID of the member to list on the farm.
principalId - The principal ID of the member to list on the farm.public String getPrincipalId()
The principal ID of the member to list on the farm.
public ListFarmsRequest withPrincipalId(String principalId)
The principal ID of the member to list on the farm.
principalId - The principal ID of the member to list on the farm.public String toString()
toString in class ObjectObject.toString()public ListFarmsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()