Class ListFleetsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.gamelift.model.ListFleetsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListFleetsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setBuildId
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.
- Parameters:
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.
-
getBuildId
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.
- Returns:
- 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.
-
withBuildId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
- Parameters:
limit
- Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
-
getLimit
public Integer getLimit()
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
- Returns:
- Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
-
withLimit
public ListFleetsRequest withLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
- Parameters:
limit
- Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListFleetsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-