@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainNodesStatus extends Object implements Serializable, Cloneable, StructuredPojo
Container for information about nodes on the domain.
| Constructor and Description |
|---|
DomainNodesStatus() |
| Modifier and Type | Method and Description |
|---|---|
DomainNodesStatus |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone of the node.
|
String |
getInstanceType()
The instance type information of the node.
|
String |
getNodeId()
The ID of the node.
|
String |
getNodeStatus()
Indicates if the node is active or in standby.
|
String |
getNodeType()
Indicates whether the nodes is a data, master, or ultrawarm node.
|
String |
getStorageSize()
The storage size of the node, in GiB.
|
String |
getStorageType()
Indicates if the node has EBS or instance storage.
|
String |
getStorageVolumeType()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone of the node.
|
void |
setInstanceType(String instanceType)
The instance type information of the node.
|
void |
setNodeId(String nodeId)
The ID of the node.
|
void |
setNodeStatus(String nodeStatus)
Indicates if the node is active or in standby.
|
void |
setNodeType(String nodeType)
Indicates whether the nodes is a data, master, or ultrawarm node.
|
void |
setStorageSize(String storageSize)
The storage size of the node, in GiB.
|
void |
setStorageType(String storageType)
Indicates if the node has EBS or instance storage.
|
void |
setStorageVolumeType(String storageVolumeType)
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3.
|
String |
toString()
Returns a string representation of this object.
|
DomainNodesStatus |
withAvailabilityZone(String availabilityZone)
The Availability Zone of the node.
|
DomainNodesStatus |
withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type information of the node.
|
DomainNodesStatus |
withInstanceType(String instanceType)
The instance type information of the node.
|
DomainNodesStatus |
withNodeId(String nodeId)
The ID of the node.
|
DomainNodesStatus |
withNodeStatus(NodeStatus nodeStatus)
Indicates if the node is active or in standby.
|
DomainNodesStatus |
withNodeStatus(String nodeStatus)
Indicates if the node is active or in standby.
|
DomainNodesStatus |
withNodeType(NodeType nodeType)
Indicates whether the nodes is a data, master, or ultrawarm node.
|
DomainNodesStatus |
withNodeType(String nodeType)
Indicates whether the nodes is a data, master, or ultrawarm node.
|
DomainNodesStatus |
withStorageSize(String storageSize)
The storage size of the node, in GiB.
|
DomainNodesStatus |
withStorageType(String storageType)
Indicates if the node has EBS or instance storage.
|
DomainNodesStatus |
withStorageVolumeType(String storageVolumeType)
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3.
|
DomainNodesStatus |
withStorageVolumeType(VolumeType storageVolumeType)
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3.
|
public void setNodeId(String nodeId)
The ID of the node.
nodeId - The ID of the node.public String getNodeId()
The ID of the node.
public DomainNodesStatus withNodeId(String nodeId)
The ID of the node.
nodeId - The ID of the node.public void setNodeType(String nodeType)
Indicates whether the nodes is a data, master, or ultrawarm node.
nodeType - Indicates whether the nodes is a data, master, or ultrawarm node.NodeTypepublic String getNodeType()
Indicates whether the nodes is a data, master, or ultrawarm node.
NodeTypepublic DomainNodesStatus withNodeType(String nodeType)
Indicates whether the nodes is a data, master, or ultrawarm node.
nodeType - Indicates whether the nodes is a data, master, or ultrawarm node.NodeTypepublic DomainNodesStatus withNodeType(NodeType nodeType)
Indicates whether the nodes is a data, master, or ultrawarm node.
nodeType - Indicates whether the nodes is a data, master, or ultrawarm node.NodeTypepublic void setAvailabilityZone(String availabilityZone)
The Availability Zone of the node.
availabilityZone - The Availability Zone of the node.public String getAvailabilityZone()
The Availability Zone of the node.
public DomainNodesStatus withAvailabilityZone(String availabilityZone)
The Availability Zone of the node.
availabilityZone - The Availability Zone of the node.public void setInstanceType(String instanceType)
The instance type information of the node.
instanceType - The instance type information of the node.OpenSearchPartitionInstanceTypepublic String getInstanceType()
The instance type information of the node.
OpenSearchPartitionInstanceTypepublic DomainNodesStatus withInstanceType(String instanceType)
The instance type information of the node.
instanceType - The instance type information of the node.OpenSearchPartitionInstanceTypepublic DomainNodesStatus withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type information of the node.
instanceType - The instance type information of the node.OpenSearchPartitionInstanceTypepublic void setNodeStatus(String nodeStatus)
Indicates if the node is active or in standby.
nodeStatus - Indicates if the node is active or in standby.NodeStatuspublic String getNodeStatus()
Indicates if the node is active or in standby.
NodeStatuspublic DomainNodesStatus withNodeStatus(String nodeStatus)
Indicates if the node is active or in standby.
nodeStatus - Indicates if the node is active or in standby.NodeStatuspublic DomainNodesStatus withNodeStatus(NodeStatus nodeStatus)
Indicates if the node is active or in standby.
nodeStatus - Indicates if the node is active or in standby.NodeStatuspublic void setStorageType(String storageType)
Indicates if the node has EBS or instance storage.
storageType - Indicates if the node has EBS or instance storage.public String getStorageType()
Indicates if the node has EBS or instance storage.
public DomainNodesStatus withStorageType(String storageType)
Indicates if the node has EBS or instance storage.
storageType - Indicates if the node has EBS or instance storage.public void setStorageVolumeType(String storageVolumeType)
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
storageVolumeType - If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.VolumeTypepublic String getStorageVolumeType()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
VolumeTypepublic DomainNodesStatus withStorageVolumeType(String storageVolumeType)
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
storageVolumeType - If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.VolumeTypepublic DomainNodesStatus withStorageVolumeType(VolumeType storageVolumeType)
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
storageVolumeType - If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.VolumeTypepublic void setStorageSize(String storageSize)
The storage size of the node, in GiB.
storageSize - The storage size of the node, in GiB.public String getStorageSize()
The storage size of the node, in GiB.
public DomainNodesStatus withStorageSize(String storageSize)
The storage size of the node, in GiB.
storageSize - The storage size of the node, in GiB.public String toString()
toString in class ObjectObject.toString()public DomainNodesStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.