Class DescribeSpotFleetRequestHistoryResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeSpotFleetRequestHistory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the events in the history of the Spot fleet request.The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).The token required to retrieve the next set of results.The ID of the Spot fleet request.The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).int
hashCode()
void
setHistoryRecords
(Collection<HistoryRecord> historyRecords) Information about the events in the history of the Spot fleet request.void
setLastEvaluatedTime
(Date lastEvaluatedTime) The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).void
setNextToken
(String nextToken) The token required to retrieve 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).toString()
Returns a string representation of this object; useful for testing and debugging.withHistoryRecords
(HistoryRecord... historyRecords) Information about the events in the history of the Spot fleet request.withHistoryRecords
(Collection<HistoryRecord> historyRecords) Information about the events in the history of the Spot fleet request.withLastEvaluatedTime
(Date lastEvaluatedTime) The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).withNextToken
(String nextToken) The token required to retrieve the next set of results.withSpotFleetRequestId
(String spotFleetRequestId) The ID of the Spot fleet request.withStartTime
(Date startTime) The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
Constructor Details
-
DescribeSpotFleetRequestHistoryResult
public DescribeSpotFleetRequestHistoryResult()
-
-
Method Details
-
setSpotFleetRequestId
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot fleet request.
-
getSpotFleetRequestId
The ID of the Spot fleet request.
- Returns:
- The ID of the Spot fleet request.
-
withSpotFleetRequestId
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTime
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
startTime
- The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
getStartTime
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Returns:
- The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
withStartTime
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
startTime
- The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastEvaluatedTime
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.- Parameters:
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.
-
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.- Returns:
- 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.
-
withLastEvaluatedTime
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getHistoryRecords
Information about the events in the history of the Spot fleet request.
- Returns:
- Information about the events in the history of the Spot fleet request.
-
setHistoryRecords
Information about the events in the history of the Spot fleet request.
- Parameters:
historyRecords
- Information about the events in the history of the Spot fleet request.
-
withHistoryRecords
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)
orwithHistoryRecords(java.util.Collection)
if you want to override the existing values.- Parameters:
historyRecords
- Information about the events in the history of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHistoryRecords
public DescribeSpotFleetRequestHistoryResult withHistoryRecords(Collection<HistoryRecord> historyRecords) Information about the events in the history of the Spot fleet request.
- Parameters:
historyRecords
- Information about the events in the history of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.
-
getNextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Returns:
- The token required to retrieve the next set of results. This
value is
null
when there are no more results to return.
-
withNextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-