@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSpotFleetRequestsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
Contains the parameters for DescribeSpotFleetRequests.
NOOP
Constructor and Description |
---|
DescribeSpotFleetRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeSpotFleetRequestsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getSpotFleetRequestIds()
The IDs of the Spot fleet requests.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeSpotFleetRequestsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeSpotFleetRequestsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeSpotFleetRequestsRequest |
withSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
DescribeSpotFleetRequestsRequest |
withSpotFleetRequestIds(String... spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
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 setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.public Integer getMaxResults()
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
NextToken
value.public DescribeSpotFleetRequestsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeSpotFleetRequestsRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public List<String> getSpotFleetRequestIds()
The IDs of the Spot fleet requests.
public void setSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(String... spotFleetRequestIds)
The IDs of the Spot fleet requests.
NOTE: This method appends the values to the existing list (if any). Use
setSpotFleetRequestIds(java.util.Collection)
or withSpotFleetRequestIds(java.util.Collection)
if you want to override the existing values.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public Request<DescribeSpotFleetRequestsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeSpotFleetRequestsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.