@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 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).
|
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 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 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(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 void setNextToken(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 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(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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.