#[non_exhaustive]pub struct DomainNodesStatusBuilder { /* private fields */ }
Expand description
A builder for DomainNodesStatus
.
Implementations§
source§impl DomainNodesStatusBuilder
impl DomainNodesStatusBuilder
sourcepub fn set_node_id(self, input: Option<String>) -> Self
pub fn set_node_id(self, input: Option<String>) -> Self
The ID of the node.
sourcepub fn get_node_id(&self) -> &Option<String>
pub fn get_node_id(&self) -> &Option<String>
The ID of the node.
sourcepub fn node_type(self, input: NodeType) -> Self
pub fn node_type(self, input: NodeType) -> Self
Indicates whether the nodes is a data, master, or ultrawarm node.
sourcepub fn set_node_type(self, input: Option<NodeType>) -> Self
pub fn set_node_type(self, input: Option<NodeType>) -> Self
Indicates whether the nodes is a data, master, or ultrawarm node.
sourcepub fn get_node_type(&self) -> &Option<NodeType>
pub fn get_node_type(&self) -> &Option<NodeType>
Indicates whether the nodes is a data, master, or ultrawarm node.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone of the node.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone of the node.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone of the node.
sourcepub fn instance_type(self, input: OpenSearchPartitionInstanceType) -> Self
pub fn instance_type(self, input: OpenSearchPartitionInstanceType) -> Self
The instance type information of the node.
sourcepub fn set_instance_type(
self,
input: Option<OpenSearchPartitionInstanceType>
) -> Self
pub fn set_instance_type( self, input: Option<OpenSearchPartitionInstanceType> ) -> Self
The instance type information of the node.
sourcepub fn get_instance_type(&self) -> &Option<OpenSearchPartitionInstanceType>
pub fn get_instance_type(&self) -> &Option<OpenSearchPartitionInstanceType>
The instance type information of the node.
sourcepub fn node_status(self, input: NodeStatus) -> Self
pub fn node_status(self, input: NodeStatus) -> Self
Indicates if the node is active or in standby.
sourcepub fn set_node_status(self, input: Option<NodeStatus>) -> Self
pub fn set_node_status(self, input: Option<NodeStatus>) -> Self
Indicates if the node is active or in standby.
sourcepub fn get_node_status(&self) -> &Option<NodeStatus>
pub fn get_node_status(&self) -> &Option<NodeStatus>
Indicates if the node is active or in standby.
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
Indicates if the node has EBS or instance storage.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
Indicates if the node has EBS or instance storage.
sourcepub fn get_storage_type(&self) -> &Option<String>
pub fn get_storage_type(&self) -> &Option<String>
Indicates if the node has EBS or instance storage.
sourcepub fn storage_volume_type(self, input: VolumeType) -> Self
pub fn storage_volume_type(self, input: VolumeType) -> Self
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
sourcepub fn set_storage_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_storage_volume_type(self, input: Option<VolumeType>) -> Self
If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable for data nodes.
sourcepub fn get_storage_volume_type(&self) -> &Option<VolumeType>
pub fn get_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, input: impl Into<String>) -> Self
pub fn storage_size(self, input: impl Into<String>) -> Self
The storage size of the node, in GiB.
sourcepub fn set_storage_size(self, input: Option<String>) -> Self
pub fn set_storage_size(self, input: Option<String>) -> Self
The storage size of the node, in GiB.
sourcepub fn get_storage_size(&self) -> &Option<String>
pub fn get_storage_size(&self) -> &Option<String>
The storage size of the node, in GiB.
sourcepub fn build(self) -> DomainNodesStatus
pub fn build(self) -> DomainNodesStatus
Consumes the builder and constructs a DomainNodesStatus
.
Trait Implementations§
source§impl Clone for DomainNodesStatusBuilder
impl Clone for DomainNodesStatusBuilder
source§fn clone(&self) -> DomainNodesStatusBuilder
fn clone(&self) -> DomainNodesStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainNodesStatusBuilder
impl Debug for DomainNodesStatusBuilder
source§impl Default for DomainNodesStatusBuilder
impl Default for DomainNodesStatusBuilder
source§fn default() -> DomainNodesStatusBuilder
fn default() -> DomainNodesStatusBuilder
source§impl PartialEq for DomainNodesStatusBuilder
impl PartialEq for DomainNodesStatusBuilder
source§fn eq(&self, other: &DomainNodesStatusBuilder) -> bool
fn eq(&self, other: &DomainNodesStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.