/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elasticbeanstalk.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancesHealthResult extends com.amazonaws.AmazonWebServiceResult* 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.
     * 
* The date and time that the health information was retrieved. *
*/ private java.util.Date refreshedAt; /** ** Pagination token for the next page of results, if available. *
*/ private String nextToken; /** ** 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.
     * 
     *         The output differs slightly between Linux and Windows environments. There is a difference in the members
     *         that are supported under the  
     * 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.
     */
    public java.util.List<CPUUtilization> type.
     * 
     *        The output differs slightly between Linux and Windows environments. There is a difference in the members
     *        that are supported under the  
     * 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  
     * NOTE: This method appends the values to the existing list (if any). Use
     * {@link #setInstanceHealthList(java.util.Collection)} or {@link #withInstanceHealthList(java.util.Collection)} if
     * you want to override the existing values.
     * <CPUUtilization> type.
     */
    public void setInstanceHealthList(java.util.Collection<CPUUtilization> type.
     * 
     *        The output differs slightly between Linux and Windows environments. There is a difference in the members
     *        that are supported under the  
     * 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.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public DescribeInstancesHealthResult withInstanceHealthList(SingleInstanceHealth... instanceHealthList) {
        if (this.instanceHealthList == null) {
            setInstanceHealthList(new com.amazonaws.internal.SdkInternalList<CPUUtilization> type.
     * 
     *        The output differs slightly between Linux and Windows environments. There is a difference in the members
     *        that are supported under the  
     * The date and time that the health information was retrieved.
     *  
     * The date and time that the health information was retrieved.
     *  
     * The date and time that the health information was retrieved.
     *  
     * Pagination token for the next page of results, if available.
     *  
     * Pagination token for the next page of results, if available.
     *  
     * Pagination token for the next page of results, if available.
     * <CPUUtilization> type.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public DescribeInstancesHealthResult withInstanceHealthList(java.util.Collection