Class DescribeSpotFleetRequestHistoryResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeSpotFleetRequestHistoryResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeSpotFleetRequestHistoryResult extends Object implements Serializable, Cloneable
Contains the output of DescribeSpotFleetRequestHistory.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeSpotFleetRequestHistoryResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSpotFleetRequestHistoryResultclone()booleanequals(Object obj)List<HistoryRecord>getHistoryRecords()Information about the events in the history of the Spot fleet request.DategetLastEvaluatedTime()The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).StringgetNextToken()The token required to retrieve the next set of results.StringgetSpotFleetRequestId()The ID of the Spot fleet request.DategetStartTime()The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).inthashCode()voidsetHistoryRecords(Collection<HistoryRecord> historyRecords)Information about the events in the history of the Spot fleet request.voidsetLastEvaluatedTime(Date lastEvaluatedTime)The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).voidsetNextToken(String nextToken)The token required to retrieve the next set of results.voidsetSpotFleetRequestId(String spotFleetRequestId)The ID of the Spot fleet request.voidsetStartTime(Date startTime)The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeSpotFleetRequestHistoryResultwithHistoryRecords(HistoryRecord... historyRecords)Information about the events in the history of the Spot fleet request.DescribeSpotFleetRequestHistoryResultwithHistoryRecords(Collection<HistoryRecord> historyRecords)Information about the events in the history of the Spot fleet request.DescribeSpotFleetRequestHistoryResultwithLastEvaluatedTime(Date lastEvaluatedTime)The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).DescribeSpotFleetRequestHistoryResultwithNextToken(String nextToken)The token required to retrieve the next set of results.DescribeSpotFleetRequestHistoryResultwithSpotFleetRequestId(String spotFleetRequestId)The ID of the Spot fleet request.DescribeSpotFleetRequestHistoryResultwithStartTime(Date startTime)The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
-
-
Method Detail
-
setSpotFleetRequestId
public void setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId- The ID of the Spot fleet request.
-
getSpotFleetRequestId
public String getSpotFleetRequestId()
The ID of the Spot fleet request.
- Returns:
- The ID of the Spot fleet request.
-
withSpotFleetRequestId
public DescribeSpotFleetRequestHistoryResult withSpotFleetRequestId(String spotFleetRequestId)
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
public void setStartTime(Date startTime)
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
public Date 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
public DescribeSpotFleetRequestHistoryResult withStartTime(Date startTime)
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
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
nextTokenindicates 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
nextTokenindicates that there are more results, this value is not present.
-
getLastEvaluatedTime
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
nextTokenindicates 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
nextTokenindicates that there are more results, this value is not present.
-
withLastEvaluatedTime
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
nextTokenindicates 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
nextTokenindicates 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
public List<HistoryRecord> 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
public void setHistoryRecords(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.
-
withHistoryRecords
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)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
public void setNextToken(String nextToken)
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token required to retrieve the next set of results. This value isnullwhen there are no more results to return.
-
getNextToken
public String getNextToken()
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Returns:
- The token required to retrieve the next set of results. This
value is
nullwhen there are no more results to return.
-
withNextToken
public DescribeSpotFleetRequestHistoryResult withNextToken(String nextToken)
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token required to retrieve the next set of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeSpotFleetRequestHistoryResult clone()
-
-