Interface ActiveInstance.Builder

    • Method Detail

      • instanceId

        ActiveInstance.Builder instanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        ActiveInstance.Builder instanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • spotInstanceRequestId

        ActiveInstance.Builder spotInstanceRequestId​(String spotInstanceRequestId)

        The ID of the Spot Instance request.

        Parameters:
        spotInstanceRequestId - The ID of the Spot Instance request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceHealth

        ActiveInstance.Builder instanceHealth​(String instanceHealth)

        The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

        Parameters:
        instanceHealth - The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceHealthStatus, InstanceHealthStatus
      • instanceHealth

        ActiveInstance.Builder instanceHealth​(InstanceHealthStatus instanceHealth)

        The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

        Parameters:
        instanceHealth - The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceHealthStatus, InstanceHealthStatus