@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDomainHealthResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a DescribeDomainHealth
request. Contains health information for the requested domain.
Constructor and Description |
---|
DescribeDomainHealthResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDomainHealthResult |
clone() |
boolean |
equals(Object obj) |
String |
getActiveAvailabilityZoneCount()
The number of active Availability Zones configured for the domain.
|
String |
getAvailabilityZoneCount()
The number of Availability Zones configured for the domain.
|
String |
getClusterHealth()
The current health status of your cluster.
|
String |
getDataNodeCount()
The number of data nodes configured for the domain.
|
Boolean |
getDedicatedMaster()
A boolean that indicates if dedicated master nodes are activated for the domain.
|
String |
getDomainState()
The current state of the domain.
|
List<EnvironmentInfo> |
getEnvironmentInformation()
A list of
EnvironmentInfo for the domain. |
String |
getMasterEligibleNodeCount()
The number of nodes that can be elected as a master node.
|
String |
getMasterNode()
Indicates whether the domain has an elected master node.
|
String |
getStandByAvailabilityZoneCount()
The number of standby Availability Zones configured for the domain.
|
String |
getTotalShards()
The total number of primary and replica shards for the domain.
|
String |
getTotalUnAssignedShards()
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
|
String |
getWarmNodeCount()
The number of warm nodes configured for the domain.
|
int |
hashCode() |
Boolean |
isDedicatedMaster()
A boolean that indicates if dedicated master nodes are activated for the domain.
|
void |
setActiveAvailabilityZoneCount(String activeAvailabilityZoneCount)
The number of active Availability Zones configured for the domain.
|
void |
setAvailabilityZoneCount(String availabilityZoneCount)
The number of Availability Zones configured for the domain.
|
void |
setClusterHealth(String clusterHealth)
The current health status of your cluster.
|
void |
setDataNodeCount(String dataNodeCount)
The number of data nodes configured for the domain.
|
void |
setDedicatedMaster(Boolean dedicatedMaster)
A boolean that indicates if dedicated master nodes are activated for the domain.
|
void |
setDomainState(String domainState)
The current state of the domain.
|
void |
setEnvironmentInformation(Collection<EnvironmentInfo> environmentInformation)
A list of
EnvironmentInfo for the domain. |
void |
setMasterEligibleNodeCount(String masterEligibleNodeCount)
The number of nodes that can be elected as a master node.
|
void |
setMasterNode(String masterNode)
Indicates whether the domain has an elected master node.
|
void |
setStandByAvailabilityZoneCount(String standByAvailabilityZoneCount)
The number of standby Availability Zones configured for the domain.
|
void |
setTotalShards(String totalShards)
The total number of primary and replica shards for the domain.
|
void |
setTotalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
|
void |
setWarmNodeCount(String warmNodeCount)
The number of warm nodes configured for the domain.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDomainHealthResult |
withActiveAvailabilityZoneCount(String activeAvailabilityZoneCount)
The number of active Availability Zones configured for the domain.
|
DescribeDomainHealthResult |
withAvailabilityZoneCount(String availabilityZoneCount)
The number of Availability Zones configured for the domain.
|
DescribeDomainHealthResult |
withClusterHealth(DomainHealth clusterHealth)
The current health status of your cluster.
|
DescribeDomainHealthResult |
withClusterHealth(String clusterHealth)
The current health status of your cluster.
|
DescribeDomainHealthResult |
withDataNodeCount(String dataNodeCount)
The number of data nodes configured for the domain.
|
DescribeDomainHealthResult |
withDedicatedMaster(Boolean dedicatedMaster)
A boolean that indicates if dedicated master nodes are activated for the domain.
|
DescribeDomainHealthResult |
withDomainState(DomainState domainState)
The current state of the domain.
|
DescribeDomainHealthResult |
withDomainState(String domainState)
The current state of the domain.
|
DescribeDomainHealthResult |
withEnvironmentInformation(Collection<EnvironmentInfo> environmentInformation)
A list of
EnvironmentInfo for the domain. |
DescribeDomainHealthResult |
withEnvironmentInformation(EnvironmentInfo... environmentInformation)
A list of
EnvironmentInfo for the domain. |
DescribeDomainHealthResult |
withMasterEligibleNodeCount(String masterEligibleNodeCount)
The number of nodes that can be elected as a master node.
|
DescribeDomainHealthResult |
withMasterNode(MasterNodeStatus masterNode)
Indicates whether the domain has an elected master node.
|
DescribeDomainHealthResult |
withMasterNode(String masterNode)
Indicates whether the domain has an elected master node.
|
DescribeDomainHealthResult |
withStandByAvailabilityZoneCount(String standByAvailabilityZoneCount)
The number of standby Availability Zones configured for the domain.
|
DescribeDomainHealthResult |
withTotalShards(String totalShards)
The total number of primary and replica shards for the domain.
|
DescribeDomainHealthResult |
withTotalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
|
DescribeDomainHealthResult |
withWarmNodeCount(String warmNodeCount)
The number of warm nodes configured for the domain.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDomainState(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
public String getDomainState()
The current state of the domain.
Processing
- The domain has updates in progress.
Active
- Requested changes have been processed and deployed to the domain.
Processing
- The domain has updates in progress.
Active
- Requested changes have been processed and deployed to the domain.
DomainState
public DescribeDomainHealthResult withDomainState(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
public DescribeDomainHealthResult withDomainState(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
public void setAvailabilityZoneCount(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
.public String getAvailabilityZoneCount()
The number of Availability Zones configured for the domain. If the service is unable to fetch this information,
it will return NotAvailable
.
NotAvailable
.public DescribeDomainHealthResult withAvailabilityZoneCount(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
.public void setActiveAvailabilityZoneCount(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
.public String getActiveAvailabilityZoneCount()
The number of active Availability Zones configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable
.
NotAvailable
.public DescribeDomainHealthResult withActiveAvailabilityZoneCount(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
.public void setStandByAvailabilityZoneCount(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
.public String getStandByAvailabilityZoneCount()
The number of standby Availability Zones configured for the domain. If the service is unable to fetch this
information, it will return NotAvailable
.
NotAvailable
.public DescribeDomainHealthResult withStandByAvailabilityZoneCount(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
.public void setDataNodeCount(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
.public String getDataNodeCount()
The number of data nodes configured for the domain. If the service is unable to fetch this information, it will
return NotAvailable
.
NotAvailable
.public DescribeDomainHealthResult withDataNodeCount(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
.public void setDedicatedMaster(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.public Boolean getDedicatedMaster()
A boolean that indicates if dedicated master nodes are activated for the domain.
public DescribeDomainHealthResult withDedicatedMaster(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.public Boolean isDedicatedMaster()
A boolean that indicates if dedicated master nodes are activated for the domain.
public void setMasterEligibleNodeCount(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
.public String getMasterEligibleNodeCount()
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
.
NotAvailable
.public DescribeDomainHealthResult withMasterEligibleNodeCount(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
.public void setWarmNodeCount(String warmNodeCount)
The number of warm nodes configured for the domain.
warmNodeCount
- The number of warm nodes configured for the domain.public String getWarmNodeCount()
The number of warm nodes configured for the domain.
public DescribeDomainHealthResult withWarmNodeCount(String warmNodeCount)
The number of warm nodes configured for the domain.
warmNodeCount
- The number of warm nodes configured for the domain.public void setMasterNode(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
public String getMasterNode()
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.
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
public DescribeDomainHealthResult withMasterNode(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
public DescribeDomainHealthResult withMasterNode(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
public void setClusterHealth(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
public String getClusterHealth()
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.
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
public DescribeDomainHealthResult withClusterHealth(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
public DescribeDomainHealthResult withClusterHealth(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
public void setTotalShards(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.public String getTotalShards()
The total number of primary and replica shards for the domain.
public DescribeDomainHealthResult withTotalShards(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.public void setTotalUnAssignedShards(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.public String getTotalUnAssignedShards()
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
public DescribeDomainHealthResult withTotalUnAssignedShards(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.public List<EnvironmentInfo> getEnvironmentInformation()
A list of EnvironmentInfo
for the domain.
EnvironmentInfo
for the domain.public void setEnvironmentInformation(Collection<EnvironmentInfo> environmentInformation)
A list of EnvironmentInfo
for the domain.
environmentInformation
- A list of EnvironmentInfo
for the domain.public DescribeDomainHealthResult withEnvironmentInformation(EnvironmentInfo... environmentInformation)
A list of EnvironmentInfo
for the domain.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentInformation(java.util.Collection)
or
withEnvironmentInformation(java.util.Collection)
if you want to override the existing values.
environmentInformation
- A list of EnvironmentInfo
for the domain.public DescribeDomainHealthResult withEnvironmentInformation(Collection<EnvironmentInfo> environmentInformation)
A list of EnvironmentInfo
for the domain.
environmentInformation
- A list of EnvironmentInfo
for the domain.public String toString()
toString
in class Object
Object.toString()
public DescribeDomainHealthResult clone()