Class DomainNodesStatus
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.DomainNodesStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainNodesStatus.Builder,DomainNodesStatus>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainNodesStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone of the node.static DomainNodesStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OpenSearchPartitionInstanceTypeinstanceType()The instance type information of the node.StringinstanceTypeAsString()The instance type information of the node.StringnodeId()The ID of the node.NodeStatusnodeStatus()Indicates if the node is active or in standby.StringnodeStatusAsString()Indicates if the node is active or in standby.NodeTypenodeType()Indicates whether the nodes is a data, master, or UltraWarm node.StringnodeTypeAsString()Indicates whether the nodes is a data, master, or UltraWarm node.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DomainNodesStatus.Builder>serializableBuilderClass()StringstorageSize()The storage size of the node, in GiB.StringstorageType()Indicates if the node has EBS or instance storage.VolumeTypestorageVolumeType()If the nodes has EBS storage, indicates if the volume type is gp2 or gp3.StringstorageVolumeTypeAsString()If the nodes has EBS storage, indicates if the volume type is gp2 or gp3.DomainNodesStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
nodeId
public final String nodeId()
The ID of the node.
- Returns:
- The ID of the node.
-
nodeType
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,
nodeTypewill returnNodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnodeTypeAsString().- Returns:
- Indicates whether the nodes is a data, master, or UltraWarm node.
- See Also:
NodeType
-
nodeTypeAsString
public 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,
nodeTypewill returnNodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnodeTypeAsString().- Returns:
- Indicates whether the nodes is a data, master, or UltraWarm node.
- See Also:
NodeType
-
availabilityZone
public final String availabilityZone()
The Availability Zone of the node.
- Returns:
- The Availability Zone of the node.
-
instanceType
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,
instanceTypewill returnOpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type information of the node.
- See Also:
OpenSearchPartitionInstanceType
-
instanceTypeAsString
public 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,
instanceTypewill returnOpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type information of the node.
- See Also:
OpenSearchPartitionInstanceType
-
nodeStatus
public 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,
nodeStatuswill returnNodeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnodeStatusAsString().- Returns:
- Indicates if the node is active or in standby.
- See Also:
NodeStatus
-
nodeStatusAsString
public 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,
nodeStatuswill returnNodeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnodeStatusAsString().- Returns:
- Indicates if the node is active or in standby.
- See Also:
NodeStatus
-
storageType
public final String storageType()
Indicates if the node has EBS or instance storage.
- Returns:
- Indicates if the node has EBS or instance storage.
-
storageVolumeType
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,
storageVolumeTypewill returnVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageVolumeTypeAsString().- Returns:
- If the nodes has EBS storage, indicates if the volume type is gp2 or gp3. Only applicable for data nodes.
- See Also:
VolumeType
-
storageVolumeTypeAsString
public 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,
storageVolumeTypewill returnVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageVolumeTypeAsString().- Returns:
- If the nodes has EBS storage, indicates if the volume type is gp2 or gp3. Only applicable for data nodes.
- See Also:
VolumeType
-
storageSize
public final String storageSize()
The storage size of the node, in GiB.
- Returns:
- The storage size of the node, in GiB.
-
toBuilder
public DomainNodesStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainNodesStatus.Builder,DomainNodesStatus>
-
builder
public static DomainNodesStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainNodesStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-