@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 items to return for this request.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<String> |
getSpotFleetRequestIds()
The IDs of the Spot Fleet requests.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setSpotFleetRequestIds(Collection<String> spotFleetRequestIds)
The IDs of the Spot Fleet requests.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSpotFleetRequestsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeSpotFleetRequestsRequest |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
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 items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public DescribeSpotFleetRequestsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeSpotFleetRequestsRequest withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.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()