/* * 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.opensearch.model; import java.io.Serializable; import javax.annotation.Generated; /** *

* The result of a DescribeDomainHealth request. Contains health information for the requested domain. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeDomainHealthResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The current state of the domain. *

* */ private String domainState; /** *

* The number of Availability Zones configured for the domain. If the service is unable to fetch this information, * it will return NotAvailable. *

*/ private String availabilityZoneCount; /** *

* The number of active Availability Zones configured for the domain. If the service is unable to fetch this * information, it will return NotAvailable. *

*/ private String activeAvailabilityZoneCount; /** *

* The number of standby Availability Zones configured for the domain. If the service is unable to fetch this * information, it will return NotAvailable. *

*/ private String standByAvailabilityZoneCount; /** *

* The number of data nodes configured for the domain. If the service is unable to fetch this information, it will * return NotAvailable. *

*/ private String dataNodeCount; /** *

* A boolean that indicates if dedicated master nodes are activated for the domain. *

*/ private Boolean dedicatedMaster; /** *

* The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is * the number of dedicated master nodes configured for the domain. If the service is unable to fetch this * information, it will return NotAvailable. *

*/ private String masterEligibleNodeCount; /** *

* The number of warm nodes configured for the domain. *

*/ private String warmNodeCount; /** *

* Indicates whether the domain has an elected master node. *

* */ private String masterNode; /** *

* The current health status of your cluster. *

* */ private String clusterHealth; /** *

* The total number of primary and replica shards for the domain. *

*/ private String totalShards; /** *

* The total number of primary and replica shards not allocated to any of the nodes for the cluster. *

*/ private String totalUnAssignedShards; /** *

* A list of EnvironmentInfo for the domain. *

*/ private java.util.List environmentInformation; /** *

* The current state of the domain. *

* * * @param domainState * The current state of the domain.

*