@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.NodeType
public String getNodeType()
Indicates whether the nodes is a data, master, or ultrawarm node.
NodeType
public 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.NodeType
public 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.NodeType
public 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.OpenSearchPartitionInstanceType
public String getInstanceType()
The instance type information of the node.
OpenSearchPartitionInstanceType
public DomainNodesStatus withInstanceType(String instanceType)
The instance type information of the node.
instanceType
- The instance type information of the node.OpenSearchPartitionInstanceType
public DomainNodesStatus withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type information of the node.
instanceType
- The instance type information of the node.OpenSearchPartitionInstanceType
public void setNodeStatus(String nodeStatus)
Indicates if the node is active or in standby.
nodeStatus
- Indicates if the node is active or in standby.NodeStatus
public String getNodeStatus()
Indicates if the node is active or in standby.
NodeStatus
public DomainNodesStatus withNodeStatus(String nodeStatus)
Indicates if the node is active or in standby.
nodeStatus
- Indicates if the node is active or in standby.NodeStatus
public DomainNodesStatus withNodeStatus(NodeStatus nodeStatus)
Indicates if the node is active or in standby.
nodeStatus
- Indicates if the node is active or in standby.NodeStatus
public 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.VolumeType
public String getStorageVolumeType()
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
VolumeType
public 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.VolumeType
public 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.VolumeType
public 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 Object
Object.toString()
public DomainNodesStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.