Struct aws_sdk_opensearch::types::DomainNodesStatus
source · #[non_exhaustive]pub struct DomainNodesStatus {
pub node_id: Option<String>,
pub node_type: Option<NodeType>,
pub availability_zone: Option<String>,
pub instance_type: Option<OpenSearchPartitionInstanceType>,
pub node_status: Option<NodeStatus>,
pub storage_type: Option<String>,
pub storage_volume_type: Option<VolumeType>,
pub storage_size: Option<String>,
}
Expand description
Container for information about nodes on the domain.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.node_id: Option<String>
The ID of the node.
node_type: Option<NodeType>
Indicates whether the nodes is a data, master, or ultrawarm node.
availability_zone: Option<String>
The Availability Zone of the node.
instance_type: Option<OpenSearchPartitionInstanceType>
The instance type information of the node.
node_status: Option<NodeStatus>
Indicates if the node is active or in standby.
storage_type: Option<String>
Indicates if the node has EBS or instance storage.
storage_volume_type: Option<VolumeType>
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
storage_size: Option<String>
The storage size of the node, in GiB.
Implementations§
source§impl DomainNodesStatus
impl DomainNodesStatus
sourcepub fn node_type(&self) -> Option<&NodeType>
pub fn node_type(&self) -> Option<&NodeType>
Indicates whether the nodes is a data, master, or ultrawarm node.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the node.
sourcepub fn instance_type(&self) -> Option<&OpenSearchPartitionInstanceType>
pub fn instance_type(&self) -> Option<&OpenSearchPartitionInstanceType>
The instance type information of the node.
sourcepub fn node_status(&self) -> Option<&NodeStatus>
pub fn node_status(&self) -> Option<&NodeStatus>
Indicates if the node is active or in standby.
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
Indicates if the node has EBS or instance storage.
sourcepub fn storage_volume_type(&self) -> Option<&VolumeType>
pub fn storage_volume_type(&self) -> Option<&VolumeType>
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
sourcepub fn storage_size(&self) -> Option<&str>
pub fn storage_size(&self) -> Option<&str>
The storage size of the node, in GiB.
source§impl DomainNodesStatus
impl DomainNodesStatus
sourcepub fn builder() -> DomainNodesStatusBuilder
pub fn builder() -> DomainNodesStatusBuilder
Creates a new builder-style object to manufacture DomainNodesStatus
.
Trait Implementations§
source§impl Clone for DomainNodesStatus
impl Clone for DomainNodesStatus
source§fn clone(&self) -> DomainNodesStatus
fn clone(&self) -> DomainNodesStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainNodesStatus
impl Debug for DomainNodesStatus
source§impl PartialEq for DomainNodesStatus
impl PartialEq for DomainNodesStatus
source§fn eq(&self, other: &DomainNodesStatus) -> bool
fn eq(&self, other: &DomainNodesStatus) -> bool
self
and other
values to be equal, and is used
by ==
.