public class DescribeSpotFleetRequestsRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeSpotFleetRequestsRequest>
DescribeSpotFleetRequests operation
.
Describes your Spot fleet requests.
Constructor and Description |
---|
DescribeSpotFleetRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getSpotFleetRequestIds()
public void setSpotFleetRequestIds(java.util.Collection<java.lang.String> spotFleetRequestIds)
spotFleetRequestIds
- The IDs of the Spot fleet requests.public DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(java.lang.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 DescribeSpotFleetRequestsRequest withSpotFleetRequestIds(java.util.Collection<java.lang.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The token for the next set of results.public DescribeSpotFleetRequestsRequest withNextToken(java.lang.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 java.lang.Integer getMaxResults()
NextToken
value.NextToken
value.public void setMaxResults(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.