#[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
Name of Additional Limit is specific to a given InstanceType and for each of it's
etc. InstanceRole
Attributes and their details:
- MaximumNumberOfDataNodesSupported This attribute will be present in Master node only to specify how much data nodes upto which given
- MaximumNumberOfDataNodesWithoutMasterNode This attribute will be present in Data node only to specify how much data nodes of given
ESPartitionInstanceType
can support as master node.
ESPartitionInstanceType
upto which you don't need any master nodes to govern them.
sourcepub fn set_limit_name(self, input: Option<String>) -> Self
pub fn set_limit_name(self, input: Option<String>) -> Self
Name of Additional Limit is specific to a given InstanceType and for each of it's
etc. InstanceRole
Attributes and their details:
- MaximumNumberOfDataNodesSupported This attribute will be present in Master node only to specify how much data nodes upto which given
- MaximumNumberOfDataNodesWithoutMasterNode This attribute will be present in Data node only to specify how much data nodes of given
ESPartitionInstanceType
can support as master node.
ESPartitionInstanceType
upto which you don't need any master nodes to govern them.
sourcepub fn get_limit_name(&self) -> &Option<String>
pub fn get_limit_name(&self) -> &Option<String>
Name of Additional Limit is specific to a given InstanceType and for each of it's
etc. InstanceRole
Attributes and their details:
- MaximumNumberOfDataNodesSupported This attribute will be present in Master node only to specify how much data nodes upto which given
- MaximumNumberOfDataNodesWithoutMasterNode This attribute will be present in Data node only to specify how much data nodes of given
ESPartitionInstanceType
can support as master node.
ESPartitionInstanceType
upto which you don't need any master nodes to govern 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
.
Value for given
.AdditionalLimit$LimitName
sourcepub fn set_limit_values(self, input: Option<Vec<String>>) -> Self
pub fn set_limit_values(self, input: Option<Vec<String>>) -> Self
Value for given
.AdditionalLimit$LimitName
sourcepub fn get_limit_values(&self) -> &Option<Vec<String>>
pub fn get_limit_values(&self) -> &Option<Vec<String>>
Value for given
.AdditionalLimit$LimitName
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq for AdditionalLimitBuilder
impl PartialEq for AdditionalLimitBuilder
source§fn eq(&self, other: &AdditionalLimitBuilder) -> bool
fn eq(&self, other: &AdditionalLimitBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdditionalLimitBuilder
Auto Trait Implementations§
impl Freeze for AdditionalLimitBuilder
impl RefUnwindSafe for AdditionalLimitBuilder
impl Send for AdditionalLimitBuilder
impl Sync for AdditionalLimitBuilder
impl Unpin for AdditionalLimitBuilder
impl UnwindSafe for AdditionalLimitBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.