Struct aws_sdk_opensearch::types::builders::AdditionalLimitBuilder
source · #[non_exhaustive]pub struct AdditionalLimitBuilder { /* private fields */ }
Expand description
A builder for AdditionalLimit
.
Implementations§
source§impl AdditionalLimitBuilder
impl AdditionalLimitBuilder
sourcepub fn limit_name(self, input: impl Into<String>) -> Self
pub fn limit_name(self, input: impl Into<String>) -> Self
-
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies the maximum number of data nodes of a given instance type a master node can support. -
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and specifies the maximum number of data nodes of a given instance type can exist without a master node governing them.
sourcepub fn set_limit_name(self, input: Option<String>) -> Self
pub fn set_limit_name(self, input: Option<String>) -> Self
-
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies the maximum number of data nodes of a given instance type a master node can support. -
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and specifies the maximum number of data nodes of a given instance type can exist without a master node governing them.
sourcepub fn get_limit_name(&self) -> &Option<String>
pub fn get_limit_name(&self) -> &Option<String>
-
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies the maximum number of data nodes of a given instance type a master node can support. -
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and specifies the maximum number of data nodes of a given instance type can exist without a master node governing them.
sourcepub fn limit_values(self, input: impl Into<String>) -> Self
pub fn limit_values(self, input: impl Into<String>) -> Self
Appends an item to limit_values
.
To override the contents of this collection use set_limit_values
.
The values of the additional instance type limits.
sourcepub fn set_limit_values(self, input: Option<Vec<String>>) -> Self
pub fn set_limit_values(self, input: Option<Vec<String>>) -> Self
The values of the additional instance type limits.
sourcepub fn get_limit_values(&self) -> &Option<Vec<String>>
pub fn get_limit_values(&self) -> &Option<Vec<String>>
The values of the additional instance type limits.
sourcepub fn build(self) -> AdditionalLimit
pub fn build(self) -> AdditionalLimit
Consumes the builder and constructs a AdditionalLimit
.
Trait Implementations§
source§impl Clone for AdditionalLimitBuilder
impl Clone for AdditionalLimitBuilder
source§fn clone(&self) -> AdditionalLimitBuilder
fn clone(&self) -> AdditionalLimitBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdditionalLimitBuilder
impl Debug for AdditionalLimitBuilder
source§impl Default for AdditionalLimitBuilder
impl Default for AdditionalLimitBuilder
source§fn default() -> AdditionalLimitBuilder
fn default() -> AdditionalLimitBuilder
source§impl PartialEq for AdditionalLimitBuilder
impl PartialEq for AdditionalLimitBuilder
source§fn eq(&self, other: &AdditionalLimitBuilder) -> bool
fn eq(&self, other: &AdditionalLimitBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.