public class DescribeSpotFleetRequestsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
DescribeSpotFleetRequests operation
.
Describes your Spot fleet requests.
NOOP
Constructor and Description |
---|
DescribeSpotFleetRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestsRequest |
clone() |
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.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getSpotFleetRequestIds()
public void setSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
spotFleetRequestIds
- The IDs of the Spot fleet requests.public DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(String... spotFleetRequestIds)
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.
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token for the next set of results.public DescribeSpotFleetRequestsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token for the next set of results.public Integer getMaxResults()
NextToken
value.NextToken
value.public void setMaxResults(Integer maxResults)
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 DescribeSpotFleetRequestsRequest withMaxResults(Integer maxResults)
NextToken
value.
Returns a reference to this object so that method calls can be chained together.
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 Request<DescribeSpotFleetRequestsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeSpotFleetRequestsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.