public class DescribeSpotFleetRequestsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
Contains the parameters for DescribeSpotFleetRequests.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
maxResults
The maximum number of results to return in a single call.
|
private java.lang.String |
nextToken
The token for the next set of results.
|
private SdkInternalList<java.lang.String> |
spotFleetRequestIds
The IDs of the Spot fleet requests.
|
NOOP
Constructor and Description |
---|
DescribeSpotFleetRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeSpotFleetRequestsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.util.List<java.lang.String> |
getSpotFleetRequestIds()
The IDs of the Spot fleet requests.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setSpotFleetRequestIds(java.util.Collection<java.lang.String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotFleetRequestsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeSpotFleetRequestsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
DescribeSpotFleetRequestsRequest |
withSpotFleetRequestIds(java.util.Collection<java.lang.String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
DescribeSpotFleetRequestsRequest |
withSpotFleetRequestIds(java.lang.String... spotFleetRequestIds)
The IDs of the Spot fleet requests.
|
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 SdkInternalList<java.lang.String> spotFleetRequestIds
The IDs of the Spot fleet requests.
private java.lang.String nextToken
The token for the next set of results.
private java.lang.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.
public java.util.List<java.lang.String> getSpotFleetRequestIds()
The IDs of the Spot fleet requests.
public void setSpotFleetRequestIds(java.util.Collection<java.lang.String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(java.lang.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(java.util.Collection<java.lang.String> spotFleetRequestIds)
The IDs of the Spot fleet requests.
spotFleetRequestIds
- The IDs of the Spot fleet requests.public void setNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public java.lang.String getNextToken()
The token for the next set of results.
public DescribeSpotFleetRequestsRequest withNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public void setMaxResults(java.lang.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 java.lang.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(java.lang.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 Request<DescribeSpotFleetRequestsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
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 DescribeSpotFleetRequestsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()