Interface SpotInstanceStatus.Builder

    • Method Detail

      • code

        SpotInstanceStatus.Builder code​(String code)

        The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.

        Parameters:
        code - The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        SpotInstanceStatus.Builder message​(String message)

        The description for the status code.

        Parameters:
        message - The description for the status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateTime

        SpotInstanceStatus.Builder updateTime​(Instant updateTime)

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

        Parameters:
        updateTime - The date and time of the most recent status update, 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.