public class DescribeSpotFleetRequestHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSpotFleetRequestHistoryRequest>
DescribeSpotFleetRequestHistory operation.
Describes the events for the specified Spot fleet request during the specified time.
Spot fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event.
NOOP| Constructor and Description |
|---|
DescribeSpotFleetRequestHistoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSpotFleetRequestHistoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DescribeSpotFleetRequestHistoryRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getEventType()
The type of events to describe.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
Date |
getStartTime()
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
int |
hashCode() |
void |
setEventType(EventType eventType)
The type of events to describe.
|
void |
setEventType(String eventType)
The type of events to describe.
|
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 |
setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
void |
setStartTime(Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotFleetRequestHistoryRequest |
withEventType(EventType eventType)
The type of events to describe.
|
DescribeSpotFleetRequestHistoryRequest |
withEventType(String eventType)
The type of events to describe.
|
DescribeSpotFleetRequestHistoryRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeSpotFleetRequestHistoryRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeSpotFleetRequestHistoryRequest |
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryRequest |
withStartTime(Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DescribeSpotFleetRequestHistoryRequest()
public String getSpotFleetRequestId()
public void setSpotFleetRequestId(String spotFleetRequestId)
spotFleetRequestId - The ID of the Spot fleet request.public DescribeSpotFleetRequestHistoryRequest withSpotFleetRequestId(String spotFleetRequestId)
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestId - The ID of the Spot fleet request.public String getEventType()
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
EventTypepublic void setEventType(String eventType)
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
eventType - The type of events to describe. By default, all events are described.EventTypepublic DescribeSpotFleetRequestHistoryRequest withEventType(String eventType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
eventType - The type of events to describe. By default, all events are described.EventTypepublic void setEventType(EventType eventType)
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
eventType - The type of events to describe. By default, all events are described.EventTypepublic DescribeSpotFleetRequestHistoryRequest withEventType(EventType eventType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
eventType - The type of events to describe. By default, all events are described.EventTypepublic Date getStartTime()
public void setStartTime(Date startTime)
startTime - The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public DescribeSpotFleetRequestHistoryRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime - The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public String getNextToken()
public void setNextToken(String nextToken)
nextToken - The token for the next set of results.public DescribeSpotFleetRequestHistoryRequest 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 DescribeSpotFleetRequestHistoryRequest 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<DescribeSpotFleetRequestHistoryRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeSpotFleetRequestHistoryRequest>public String toString()
toString in class ObjectObject.toString()public DescribeSpotFleetRequestHistoryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.