@Generated(value="software.amazon.awssdk:codegen") public final class DomainNodesStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainNodesStatus.Builder,DomainNodesStatus>
Container for information about nodes on the domain.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DomainNodesStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Availability Zone of the node.
|
static DomainNodesStatus.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OpenSearchPartitionInstanceType |
instanceType()
The instance type information of the node.
|
String |
instanceTypeAsString()
The instance type information of the node.
|
String |
nodeId()
The ID of the node.
|
NodeStatus |
nodeStatus()
Indicates if the node is active or in standby.
|
String |
nodeStatusAsString()
Indicates if the node is active or in standby.
|
NodeType |
nodeType()
Indicates whether the nodes is a data, master, or ultrawarm node.
|
String |
nodeTypeAsString()
Indicates whether the nodes is a data, master, or ultrawarm node.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DomainNodesStatus.Builder> |
serializableBuilderClass() |
String |
storageSize()
The storage size of the node, in GiB.
|
String |
storageType()
Indicates if the node has EBS or instance storage.
|
VolumeType |
storageVolumeType()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3.
|
String |
storageVolumeTypeAsString()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3.
|
DomainNodesStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nodeId()
The ID of the node.
public final NodeType nodeType()
Indicates whether the nodes is a data, master, or ultrawarm node.
If the service returns an enum value that is not available in the current SDK version, nodeType will
return NodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nodeTypeAsString().
NodeTypepublic final String nodeTypeAsString()
Indicates whether the nodes is a data, master, or ultrawarm node.
If the service returns an enum value that is not available in the current SDK version, nodeType will
return NodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nodeTypeAsString().
NodeTypepublic final String availabilityZone()
The Availability Zone of the node.
public final OpenSearchPartitionInstanceType instanceType()
The instance type information of the node.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return OpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from instanceTypeAsString().
OpenSearchPartitionInstanceTypepublic final String instanceTypeAsString()
The instance type information of the node.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return OpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from instanceTypeAsString().
OpenSearchPartitionInstanceTypepublic final NodeStatus nodeStatus()
Indicates if the node is active or in standby.
If the service returns an enum value that is not available in the current SDK version, nodeStatus will
return NodeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nodeStatusAsString().
NodeStatuspublic final String nodeStatusAsString()
Indicates if the node is active or in standby.
If the service returns an enum value that is not available in the current SDK version, nodeStatus will
return NodeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nodeStatusAsString().
NodeStatuspublic final String storageType()
Indicates if the node has EBS or instance storage.
public final VolumeType storageVolumeType()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
If the service returns an enum value that is not available in the current SDK version, storageVolumeType
will return VolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageVolumeTypeAsString().
VolumeTypepublic final String storageVolumeTypeAsString()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
If the service returns an enum value that is not available in the current SDK version, storageVolumeType
will return VolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageVolumeTypeAsString().
VolumeTypepublic final String storageSize()
The storage size of the node, in GiB.
public DomainNodesStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DomainNodesStatus.Builder,DomainNodesStatus>public static DomainNodesStatus.Builder builder()
public static Class<? extends DomainNodesStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.