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 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(HistoryRecord... historyRecords)
Information about the events in the history of the Spot fleet request.DescribeSpotFleetRequestHistoryResult
withHistoryRecords(Collection<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).
-
-
-
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
nextToken
indicates 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
nextToken
indicates 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
nextToken
indicates 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
nextToken
indicates 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
nextToken
indicates 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
nextToken
indicates 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
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.
-
getNextToken
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.- Returns:
- The token required to retrieve the next set of results. This
value is
null
when 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
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeSpotFleetRequestHistoryResult clone()
-
-