public class DescribeSpotFleetRequestHistoryResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeSpotFleetRequestHistory.
Constructor and Description |
---|
DescribeSpotFleetRequestHistoryResult() |
Modifier and Type | Method and Description |
---|---|
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).
|
public DescribeSpotFleetRequestHistoryResult()
public java.lang.String getSpotFleetRequestId()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
spotFleetRequestId
- The ID of the Spot fleet request.public DescribeSpotFleetRequestHistoryResult 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.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 DescribeSpotFleetRequestHistoryResult 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.util.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(java.util.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(java.util.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 java.util.List<HistoryRecord> getHistoryRecords()
public void setHistoryRecords(java.util.Collection<HistoryRecord> historyRecords)
historyRecords
- Information about the events in the history of the Spot fleet request.public DescribeSpotFleetRequestHistoryResult withHistoryRecords(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 DescribeSpotFleetRequestHistoryResult withHistoryRecords(java.util.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 java.lang.String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(java.lang.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(java.lang.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 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.