@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSpotFleetRequestHistoryResult extends AmazonWebServiceResult<ResponseMetadata> 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 to include in another request to get the next page of items.
|
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 to include in another request to get the next page of items.
|
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.
|
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 to include in another request to get the next page of items.
|
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).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeSpotFleetRequestHistoryResult()
public List<HistoryRecord> getHistoryRecords()
Information about the events in the history of the Spot Fleet request.
public void setHistoryRecords(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(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 setLastEvaluatedTime(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 items, 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 items, this value is not present.
public 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 items, this value is not present.
If nextToken
indicates that there are more items, this value is not present.
public DescribeSpotFleetRequestHistoryResult withLastEvaluatedTime(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 items, 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 items, this value is not present.
public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeSpotFleetRequestHistoryResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public void setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
spotFleetRequestId
- The ID of the Spot Fleet request.public String getSpotFleetRequestId()
The ID of the Spot Fleet request.
public DescribeSpotFleetRequestHistoryResult withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
spotFleetRequestId
- The ID of the Spot Fleet request.public void setStartTime(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 Date getStartTime()
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public DescribeSpotFleetRequestHistoryResult withStartTime(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 String toString()
toString
in class Object
Object.toString()
public DescribeSpotFleetRequestHistoryResult clone()