@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListComputeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListComputeRequest() |
Modifier and Type | Method and Description |
---|---|
ListComputeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFleetId()
A unique identifier for the fleet to retrieve compute resources for.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getLocation()
The name of a location to retrieve compute resources for.
|
String |
getNextToken()
A token that indicates the start of the next sequential page of results.
|
int |
hashCode() |
void |
setFleetId(String fleetId)
A unique identifier for the fleet to retrieve compute resources for.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setLocation(String location)
The name of a location to retrieve compute resources for.
|
void |
setNextToken(String nextToken)
A token that indicates the start of the next sequential page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListComputeRequest |
withFleetId(String fleetId)
A unique identifier for the fleet to retrieve compute resources for.
|
ListComputeRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
ListComputeRequest |
withLocation(String location)
The name of a location to retrieve compute resources for.
|
ListComputeRequest |
withNextToken(String nextToken)
A token that indicates the start of the next sequential page of results.
|
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, withSdkRequestTimeout
public void setFleetId(String fleetId)
A unique identifier for the fleet to retrieve compute resources for.
fleetId
- A unique identifier for the fleet to retrieve compute resources for.public String getFleetId()
A unique identifier for the fleet to retrieve compute resources for.
public ListComputeRequest withFleetId(String fleetId)
A unique identifier for the fleet to retrieve compute resources for.
fleetId
- A unique identifier for the fleet to retrieve compute resources for.public void setLocation(String location)
The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a custom
location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or Local Zone code
(for example: us-west-2
or us-west-2-lax-1
).
location
- The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a
custom location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or
Local Zone code (for example: us-west-2
or us-west-2-lax-1
).public String getLocation()
The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a custom
location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or Local Zone code
(for example: us-west-2
or us-west-2-lax-1
).
us-west-2
or us-west-2-lax-1
).public ListComputeRequest withLocation(String location)
The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a custom
location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or Local Zone code
(for example: us-west-2
or us-west-2-lax-1
).
location
- The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a
custom location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or
Local Zone code (for example: us-west-2
or us-west-2-lax-1
).public void setLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential pages.public Integer getLimit()
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 ListComputeRequest withLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
limit
- 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)
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential page of results. Use the token that is returned
with a previous call to this operation. To start at the beginning of the result set, do not specify a
value.public String getNextToken()
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
public ListComputeRequest withNextToken(String nextToken)
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential page of results. Use the token that is returned
with a previous call to this operation. To start at the beginning of the result set, do not specify a
value.public String toString()
toString
in class Object
Object.toString()
public ListComputeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()