Interface DescribeInstancesHealthResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInstancesHealthResponse.Builder,DescribeInstancesHealthResponse>,ElasticBeanstalkResponse.Builder,SdkBuilder<DescribeInstancesHealthResponse.Builder,DescribeInstancesHealthResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeInstancesHealthResponse
public static interface DescribeInstancesHealthResponse.Builder extends ElasticBeanstalkResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancesHealthResponse.Builder,DescribeInstancesHealthResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstancesHealthResponse.BuilderinstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)Detailed health information about each instance.DescribeInstancesHealthResponse.BuilderinstanceHealthList(Consumer<SingleInstanceHealth.Builder>... instanceHealthList)Detailed health information about each instance.DescribeInstancesHealthResponse.BuilderinstanceHealthList(SingleInstanceHealth... instanceHealthList)Detailed health information about each instance.DescribeInstancesHealthResponse.BuildernextToken(String nextToken)Pagination token for the next page of results, if available.DescribeInstancesHealthResponse.BuilderrefreshedAt(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 Detail
-
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.Builderavoiding the need to create one manually viaSingleInstanceHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceHealthList(List.) - 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:
#instanceHealthList(java.util.Collection)
-
refreshedAt
DescribeInstancesHealthResponse.Builder refreshedAt(Instant 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
DescribeInstancesHealthResponse.Builder nextToken(String 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.
-
-