Interface DescribeInstancesHealthResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeInstancesHealthResponse.Builder,DescribeInstancesHealthResponse>, ElasticBeanstalkResponse.Builder, SdkBuilder<DescribeInstancesHealthResponse.Builder,DescribeInstancesHealthResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeInstancesHealthResponse

  • Method Details

    • instanceHealthList

      Detailed health information about each instance.

      The output differs slightly between Linux and Windows environments. There is a difference in the members that are supported under the <CPUUtilization> type.

      Parameters:
      instanceHealthList - Detailed health information about each instance.

      The output differs slightly between Linux and Windows environments. There is a difference in the members that are supported under the <CPUUtilization> type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceHealthList

      DescribeInstancesHealthResponse.Builder instanceHealthList(SingleInstanceHealth... instanceHealthList)

      Detailed health information about each instance.

      The output differs slightly between Linux and Windows environments. There is a difference in the members that are supported under the <CPUUtilization> type.

      Parameters:
      instanceHealthList - Detailed health information about each instance.

      The output differs slightly between Linux and Windows environments. There is a difference in the members that are supported under the <CPUUtilization> type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceHealthList

      Detailed health information about each instance.

      The output differs slightly between Linux and Windows environments. There is a difference in the members that are supported under the <CPUUtilization> type.

      This is a convenience method that creates an instance of the SingleInstanceHealth.Builder avoiding the need to create one manually via SingleInstanceHealth.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceHealthList(List<SingleInstanceHealth>).

      Parameters:
      instanceHealthList - a consumer that will call methods on SingleInstanceHealth.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • refreshedAt

      The date and time that the health information was retrieved.

      Parameters:
      refreshedAt - The date and time that the health information was retrieved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      Pagination token for the next page of results, if available.

      Parameters:
      nextToken - Pagination token for the next page of results, if available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.