Interface ActiveInstance.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ActiveInstance.Builder,ActiveInstance>, SdkBuilder<ActiveInstance.Builder,ActiveInstance>, SdkPojo
Enclosing class:
ActiveInstance

public static interface ActiveInstance.Builder extends SdkPojo, CopyableBuilder<ActiveInstance.Builder,ActiveInstance>
  • Method Details

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