Class HistoryRecord

    • Constructor Detail

      • HistoryRecord

        public HistoryRecord()
    • Method Detail

      • setTimestamp

        public void setTimestamp​(Date timestamp)

        The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

        Parameters:
        timestamp - The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
      • getTimestamp

        public Date getTimestamp()

        The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

        Returns:
        The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
      • withTimestamp

        public HistoryRecord withTimestamp​(Date timestamp)

        The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

        Parameters:
        timestamp - The date and time of the event, 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.
      • setEventType

        public void setEventType​(String eventType)

        The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Parameters:
        eventType - The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        See Also:
        EventType
      • getEventType

        public String getEventType()

        The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Returns:
        The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        See Also:
        EventType
      • withEventType

        public HistoryRecord withEventType​(String eventType)

        The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Parameters:
        eventType - The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventType
      • setEventType

        public void setEventType​(EventType eventType)

        The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Parameters:
        eventType - The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        See Also:
        EventType
      • withEventType

        public HistoryRecord withEventType​(EventType eventType)

        The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Parameters:
        eventType - The event type.

        • error - Indicates an error with the Spot fleet request.

        • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.

        • instanceChange - Indicates that an instance was launched or terminated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventType
      • setEventInformation

        public void setEventInformation​(EventInformation eventInformation)

        Information about the event.

        Parameters:
        eventInformation - Information about the event.
      • getEventInformation

        public EventInformation getEventInformation()

        Information about the event.

        Returns:
        Information about the event.
      • withEventInformation

        public HistoryRecord withEventInformation​(EventInformation eventInformation)

        Information about the event.

        Parameters:
        eventInformation - Information about the event.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object