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 Summary
Modifier and TypeMethodDescriptioninstanceHealthList
(Collection<SingleInstanceHealth> instanceHealthList) Detailed health information about each instance.instanceHealthList
(Consumer<SingleInstanceHealth.Builder>... instanceHealthList) Detailed health information about each instance.instanceHealthList
(SingleInstanceHealth... instanceHealthList) Detailed health information about each instance.Pagination token for the next page of results, if available.refreshedAt
(Instant refreshedAt) The date and time that the health information was retrieved.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceHealthList
DescribeInstancesHealthResponse.Builder instanceHealthList(Collection<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
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
DescribeInstancesHealthResponse.Builder instanceHealthList(Consumer<SingleInstanceHealth.Builder>... 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
This is a convenience method that creates an instance of the<CPUUtilization>
type.SingleInstanceHealth.Builder
avoiding the need to create one manually viaSingleInstanceHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceHealthList(List<SingleInstanceHealth>)
.- Parameters:
instanceHealthList
- a consumer that will call methods onSingleInstanceHealth.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.
-