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 ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more