public static interface DescribeDomainHealthResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeDomainHealthResponse.Builder,DescribeDomainHealthResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeDomainHealthResponse.Builder |
activeAvailabilityZoneCount(String activeAvailabilityZoneCount)
The number of active Availability Zones configured for the domain.
|
DescribeDomainHealthResponse.Builder |
availabilityZoneCount(String availabilityZoneCount)
The number of Availability Zones configured for the domain.
|
DescribeDomainHealthResponse.Builder |
clusterHealth(DomainHealth clusterHealth)
The current health status of your cluster.
|
DescribeDomainHealthResponse.Builder |
clusterHealth(String clusterHealth)
The current health status of your cluster.
|
DescribeDomainHealthResponse.Builder |
dataNodeCount(String dataNodeCount)
The number of data nodes configured for the domain.
|
DescribeDomainHealthResponse.Builder |
dedicatedMaster(Boolean dedicatedMaster)
A boolean that indicates if dedicated master nodes are activated for the domain.
|
DescribeDomainHealthResponse.Builder |
domainState(DomainState domainState)
The current state of the domain.
|
DescribeDomainHealthResponse.Builder |
domainState(String domainState)
The current state of the domain.
|
DescribeDomainHealthResponse.Builder |
environmentInformation(Collection<EnvironmentInfo> environmentInformation)
A list of
EnvironmentInfo for the domain. |
DescribeDomainHealthResponse.Builder |
environmentInformation(Consumer<EnvironmentInfo.Builder>... environmentInformation)
A list of
EnvironmentInfo for the domain. |
DescribeDomainHealthResponse.Builder |
environmentInformation(EnvironmentInfo... environmentInformation)
A list of
EnvironmentInfo for the domain. |
DescribeDomainHealthResponse.Builder |
masterEligibleNodeCount(String masterEligibleNodeCount)
The number of nodes that can be elected as a master node.
|
DescribeDomainHealthResponse.Builder |
masterNode(MasterNodeStatus masterNode)
Indicates whether the domain has an elected master node.
|
DescribeDomainHealthResponse.Builder |
masterNode(String masterNode)
Indicates whether the domain has an elected master node.
|
DescribeDomainHealthResponse.Builder |
standByAvailabilityZoneCount(String standByAvailabilityZoneCount)
The number of standby Availability Zones configured for the domain.
|
DescribeDomainHealthResponse.Builder |
totalShards(String totalShards)
The total number of primary and replica shards for the domain.
|
DescribeDomainHealthResponse.Builder |
totalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
|
DescribeDomainHealthResponse.Builder |
warmNodeCount(String warmNodeCount)
The number of warm nodes configured for the domain.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeDomainHealthResponse.Builder domainState(String domainState)
The current state of the domain.
Processing - The domain has updates in progress.
Active - Requested changes have been processed and deployed to the domain.
domainState - The current state of the domain.
Processing - The domain has updates in progress.
Active - Requested changes have been processed and deployed to the domain.
DomainState,
DomainStateDescribeDomainHealthResponse.Builder domainState(DomainState domainState)
The current state of the domain.
Processing - The domain has updates in progress.
Active - Requested changes have been processed and deployed to the domain.
domainState - The current state of the domain.
Processing - The domain has updates in progress.
Active - Requested changes have been processed and deployed to the domain.
DomainState,
DomainStateDescribeDomainHealthResponse.Builder availabilityZoneCount(String availabilityZoneCount)
The number of Availability Zones configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable.
availabilityZoneCount - The number of Availability Zones configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable.DescribeDomainHealthResponse.Builder activeAvailabilityZoneCount(String activeAvailabilityZoneCount)
The number of active Availability Zones configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable.
activeAvailabilityZoneCount - The number of active Availability Zones configured for the domain. If the service is unable to fetch
this information, it will return NotAvailable.DescribeDomainHealthResponse.Builder standByAvailabilityZoneCount(String standByAvailabilityZoneCount)
The number of standby Availability Zones configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable.
standByAvailabilityZoneCount - The number of standby Availability Zones configured for the domain. If the service is unable to fetch
this information, it will return NotAvailable.DescribeDomainHealthResponse.Builder dataNodeCount(String dataNodeCount)
The number of data nodes configured for the domain. If the service is unable to fetch this information, it
will return NotAvailable.
dataNodeCount - The number of data nodes configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable.DescribeDomainHealthResponse.Builder dedicatedMaster(Boolean dedicatedMaster)
A boolean that indicates if dedicated master nodes are activated for the domain.
dedicatedMaster - A boolean that indicates if dedicated master nodes are activated for the domain.DescribeDomainHealthResponse.Builder masterEligibleNodeCount(String masterEligibleNodeCount)
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.
masterEligibleNodeCount - 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.DescribeDomainHealthResponse.Builder warmNodeCount(String warmNodeCount)
The number of warm nodes configured for the domain.
warmNodeCount - The number of warm nodes configured for the domain.DescribeDomainHealthResponse.Builder masterNode(String masterNode)
Indicates whether the domain has an elected master node.
Available - The domain has an elected master node.
UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
masterNode - Indicates whether the domain has an elected master node.
Available - The domain has an elected master node.
UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
MasterNodeStatus,
MasterNodeStatusDescribeDomainHealthResponse.Builder masterNode(MasterNodeStatus masterNode)
Indicates whether the domain has an elected master node.
Available - The domain has an elected master node.
UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
masterNode - Indicates whether the domain has an elected master node.
Available - The domain has an elected master node.
UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
MasterNodeStatus,
MasterNodeStatusDescribeDomainHealthResponse.Builder clusterHealth(String clusterHealth)
The current health status of your cluster.
Red - At least one primary shard is not allocated to any node.
Yellow - All primary shards are allocated to nodes, but some replicas aren’t.
Green - All primary shards and their replicas are allocated to nodes.
NotAvailable - Unable to retrieve cluster health.
clusterHealth - The current health status of your cluster.
Red - At least one primary shard is not allocated to any node.
Yellow - All primary shards are allocated to nodes, but some replicas aren’t.
Green - All primary shards and their replicas are allocated to nodes.
NotAvailable - Unable to retrieve cluster health.
DomainHealth,
DomainHealthDescribeDomainHealthResponse.Builder clusterHealth(DomainHealth clusterHealth)
The current health status of your cluster.
Red - At least one primary shard is not allocated to any node.
Yellow - All primary shards are allocated to nodes, but some replicas aren’t.
Green - All primary shards and their replicas are allocated to nodes.
NotAvailable - Unable to retrieve cluster health.
clusterHealth - The current health status of your cluster.
Red - At least one primary shard is not allocated to any node.
Yellow - All primary shards are allocated to nodes, but some replicas aren’t.
Green - All primary shards and their replicas are allocated to nodes.
NotAvailable - Unable to retrieve cluster health.
DomainHealth,
DomainHealthDescribeDomainHealthResponse.Builder totalShards(String totalShards)
The total number of primary and replica shards for the domain.
totalShards - The total number of primary and replica shards for the domain.DescribeDomainHealthResponse.Builder totalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
totalUnAssignedShards - The total number of primary and replica shards not allocated to any of the nodes for the cluster.DescribeDomainHealthResponse.Builder environmentInformation(Collection<EnvironmentInfo> environmentInformation)
A list of EnvironmentInfo for the domain.
environmentInformation - A list of EnvironmentInfo for the domain.DescribeDomainHealthResponse.Builder environmentInformation(EnvironmentInfo... environmentInformation)
A list of EnvironmentInfo for the domain.
environmentInformation - A list of EnvironmentInfo for the domain.DescribeDomainHealthResponse.Builder environmentInformation(Consumer<EnvironmentInfo.Builder>... environmentInformation)
A list of EnvironmentInfo for the domain.
EnvironmentInfo.Builder avoiding the need to create
one manually via EnvironmentInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #environmentInformation(List.
environmentInformation - a consumer that will call methods on
EnvironmentInfo.Builder#environmentInformation(java.util.Collection) Copyright © 2023. All rights reserved.