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).
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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
EventType
public void setEventType(String eventType)
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
eventType
- The type of events to describe. By default, all events are described.EventType
public 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.EventType
public void setEventType(EventType eventType)
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
eventType
- The type of events to describe. By default, all events are described.EventType
public 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.EventType
public 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 Object
Object.toString()
public DescribeSpotFleetRequestHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.