public class DescribeSpotFleetRequestHistoryResult extends Object implements Serializable, Cloneable
Contains the output of DescribeSpotFleetRequestHistory.
Constructor and Description |
---|
DescribeSpotFleetRequestHistoryResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestHistoryResult |
clone() |
boolean |
equals(Object obj) |
List<HistoryRecord> |
getHistoryRecords()
Information about the events in the history of the Spot fleet request.
|
Date |
getLastEvaluatedTime()
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
getNextToken()
The token required to retrieve 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 |
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).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotFleetRequestHistoryResult |
withHistoryRecords(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(Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
DescribeSpotFleetRequestHistoryResult |
withNextToken(String nextToken)
The token required to retrieve the next set of results.
|
DescribeSpotFleetRequestHistoryResult |
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryResult |
withStartTime(Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
public DescribeSpotFleetRequestHistoryResult()
public String getSpotFleetRequestId()
public void setSpotFleetRequestId(String spotFleetRequestId)
spotFleetRequestId
- The ID of the Spot fleet request.public DescribeSpotFleetRequestHistoryResult 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 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 DescribeSpotFleetRequestHistoryResult 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 Date getLastEvaluatedTime()
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 void setLastEvaluatedTime(Date lastEvaluatedTime)
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 DescribeSpotFleetRequestHistoryResult withLastEvaluatedTime(Date lastEvaluatedTime)
If nextToken
indicates that there are more results, this value is not present.
Returns a reference to this object so that method calls can be chained together.
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 List<HistoryRecord> getHistoryRecords()
public void setHistoryRecords(Collection<HistoryRecord> historyRecords)
historyRecords
- Information about the events in the history of the Spot fleet request.public DescribeSpotFleetRequestHistoryResult withHistoryRecords(HistoryRecord... historyRecords)
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.
Returns a reference to this object so that method calls can be chained together.
historyRecords
- Information about the events in the history of the Spot fleet request.public DescribeSpotFleetRequestHistoryResult withHistoryRecords(Collection<HistoryRecord> historyRecords)
Returns a reference to this object so that method calls can be chained together.
historyRecords
- Information about the events in the history of the Spot fleet request.public String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(String nextToken)
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 DescribeSpotFleetRequestHistoryResult withNextToken(String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token required to retrieve the next set of results. This value is
null
when there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeSpotFleetRequestHistoryResult clone()
Copyright © 2015. All rights reserved.