public class DescribeSpotFleetRequestHistoryResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeSpotFleetRequestHistory.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<HistoryRecord> |
historyRecords
Information about the events in the history of the Spot fleet request.
|
private java.util.Date |
lastEvaluatedTime
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
private java.lang.String |
nextToken
The token required to retrieve the next set of results.
|
private java.lang.String |
spotFleetRequestId
The ID of the Spot fleet request.
|
private java.util.Date |
startTime
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
Constructor and Description |
---|
DescribeSpotFleetRequestHistoryResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestHistoryResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<HistoryRecord> |
getHistoryRecords()
Information about the events in the history of the Spot fleet request.
|
java.util.Date |
getLastEvaluatedTime()
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
java.lang.String |
getNextToken()
The token required to retrieve 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 |
setHistoryRecords(java.util.Collection<HistoryRecord> historyRecords)
Information about the events in the history of the Spot fleet request.
|
void |
setLastEvaluatedTime(java.util.Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
void |
setNextToken(java.lang.String nextToken)
The token required to retrieve 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.
|
DescribeSpotFleetRequestHistoryResult |
withHistoryRecords(java.util.Collection<HistoryRecord> historyRecords)
Information about the events in the history of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryResult |
withHistoryRecords(HistoryRecord... historyRecords)
Information about the events in the history of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryResult |
withLastEvaluatedTime(java.util.Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
DescribeSpotFleetRequestHistoryResult |
withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
DescribeSpotFleetRequestHistoryResult |
withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryResult |
withStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
private java.lang.String spotFleetRequestId
The ID of the Spot fleet request.
private java.util.Date startTime
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
private java.util.Date lastEvaluatedTime
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this
value is not present.
private SdkInternalList<HistoryRecord> historyRecords
Information about the events in the history of the Spot fleet request.
private java.lang.String nextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
public DescribeSpotFleetRequestHistoryResult()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public java.lang.String getSpotFleetRequestId()
The ID of the Spot fleet request.
public DescribeSpotFleetRequestHistoryResult withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public void setStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The starting date and time for the events, in UTC format (for
example,
YYYY-MM-DDTHH:MM:SSZ).public java.util.Date getStartTime()
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public DescribeSpotFleetRequestHistoryResult withStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The starting date and time for the events, in UTC format (for
example,
YYYY-MM-DDTHH:MM:SSZ).public void setLastEvaluatedTime(java.util.Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this
value is not present.
lastEvaluatedTime
- The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
All records up to this time were retrieved.
If nextToken
indicates that there are more results,
this value is not present.
public java.util.Date getLastEvaluatedTime()
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this
value is not present.
If nextToken
indicates that there are more results,
this value is not present.
public DescribeSpotFleetRequestHistoryResult withLastEvaluatedTime(java.util.Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this
value is not present.
lastEvaluatedTime
- The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
All records up to this time were retrieved.
If nextToken
indicates that there are more results,
this value is not present.
public java.util.List<HistoryRecord> getHistoryRecords()
Information about the events in the history of the Spot fleet request.
public void setHistoryRecords(java.util.Collection<HistoryRecord> historyRecords)
Information about the events in the history of the Spot fleet request.
historyRecords
- Information about the events in the history of the Spot fleet
request.public DescribeSpotFleetRequestHistoryResult withHistoryRecords(HistoryRecord... historyRecords)
Information about the events in the history of the Spot fleet request.
NOTE: This method appends the values to the existing list (if
any). Use setHistoryRecords(java.util.Collection)
or
withHistoryRecords(java.util.Collection)
if you want to override
the existing values.
historyRecords
- Information about the events in the history of the Spot fleet
request.public DescribeSpotFleetRequestHistoryResult withHistoryRecords(java.util.Collection<HistoryRecord> historyRecords)
Information about the events in the history of the Spot fleet request.
historyRecords
- Information about the events in the history of the Spot fleet
request.public void setNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
nextToken
- The token required to retrieve the next set of results. This value
is null
when there are no more results to return.public java.lang.String getNextToken()
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
null
when there are no more results to
return.public DescribeSpotFleetRequestHistoryResult withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
nextToken
- The token required to retrieve the next set of results. This value
is null
when there are no more results to return.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeSpotFleetRequestHistoryResult clone()
clone
in class java.lang.Object