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:
  • Constructor Details

    • DescribeSpotFleetRequestHistoryResult

      public DescribeSpotFleetRequestHistoryResult()
  • Method Details

    • 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) or withHistoryRecords(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 is null 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 is null 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object