public class ListFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
ListFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListFleetsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getBuildId()
Unique identifier of the build to return fleets for.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
int |
hashCode() |
void |
setBuildId(String buildId)
Unique identifier of the build to return fleets for.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListFleetsRequest |
withBuildId(String buildId)
Unique identifier of the build to return fleets for.
|
ListFleetsRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
ListFleetsRequest |
withNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBuildId(String buildId)
Unique identifier of the build to return fleets for. Use this parameter to return only fleets using the specified build. To retrieve all fleets, leave this parameter empty.
buildId
- Unique identifier of the build to return fleets for. Use this
parameter to return only fleets using the specified build. To
retrieve all fleets, leave this parameter empty.public String getBuildId()
Unique identifier of the build to return fleets for. Use this parameter to return only fleets using the specified build. To retrieve all fleets, leave this parameter empty.
public ListFleetsRequest withBuildId(String buildId)
Unique identifier of the build to return fleets for. Use this parameter to return only fleets using the specified build. To retrieve all fleets, leave this parameter empty.
buildId
- Unique identifier of the build to return fleets for. Use this
parameter to return only fleets using the specified build. To
retrieve all fleets, leave this parameter empty.public void setLimit(Integer limit)
Maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
limit
- Maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential
pages.public Integer getLimit()
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 ListFleetsRequest withLimit(Integer limit)
Maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
limit
- 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)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken
- Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public String getNextToken()
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
public ListFleetsRequest withNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken
- Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public String toString()
toString
in class Object
Object.toString()
public ListFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.