public class ListFleetsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
buildId
Unique identifier of the build to return fleets for.
|
private java.lang.Integer |
limit
Maximum number of results to return.
|
private java.lang.String |
nextToken
Token indicating the start of the next sequential page of results.
|
NOOP
Constructor and Description |
---|
ListFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListFleetsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBuildId()
Unique identifier of the build to return fleets for.
|
java.lang.Integer |
getLimit()
Maximum number of results to return.
|
java.lang.String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
int |
hashCode() |
void |
setBuildId(java.lang.String buildId)
Unique identifier of the build to return fleets for.
|
void |
setLimit(java.lang.Integer limit)
Maximum number of results to return.
|
void |
setNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListFleetsRequest |
withBuildId(java.lang.String buildId)
Unique identifier of the build to return fleets for.
|
ListFleetsRequest |
withLimit(java.lang.Integer limit)
Maximum number of results to return.
|
ListFleetsRequest |
withNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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.
private java.lang.Integer limit
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
private java.lang.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.
public void setBuildId(java.lang.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 java.lang.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(java.lang.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(java.lang.Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit
- Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public java.lang.Integer getLimit()
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
public ListFleetsRequest withLimit(java.lang.Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit
- Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()