public class DescribeSpotFleetRequestHistoryRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
Constructor and Description |
---|
DescribeSpotFleetRequestHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<DescribeSpotFleetRequestHistoryRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getEventType()
The type of events to describe.
|
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.lang.String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
java.util.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(java.lang.String eventType)
The type of events to describe.
|
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 |
setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
void |
setStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
java.lang.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(java.lang.String eventType)
The type of events to describe.
|
DescribeSpotFleetRequestHistoryRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeSpotFleetRequestHistoryRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
DescribeSpotFleetRequestHistoryRequest |
withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryRequest |
withStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeSpotFleetRequestHistoryRequest()
public java.lang.String getSpotFleetRequestId()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
spotFleetRequestId
- The ID of the Spot fleet request.public DescribeSpotFleetRequestHistoryRequest withSpotFleetRequestId(java.lang.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 java.lang.String getEventType()
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
EventType
public void setEventType(java.lang.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(java.lang.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 java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime
- The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public DescribeSpotFleetRequestHistoryRequest withStartTime(java.util.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The token for the next set of results.public DescribeSpotFleetRequestHistoryRequest 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 DescribeSpotFleetRequestHistoryRequest 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<DescribeSpotFleetRequestHistoryRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSpotFleetRequestHistoryRequest>
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.