Struct aws_sdk_opensearch::types::builders::LimitsBuilder
source · #[non_exhaustive]pub struct LimitsBuilder { /* private fields */ }
Expand description
A builder for Limits
.
Implementations§
source§impl LimitsBuilder
impl LimitsBuilder
sourcepub fn storage_types(self, input: StorageType) -> Self
pub fn storage_types(self, input: StorageType) -> Self
Appends an item to storage_types
.
To override the contents of this collection use set_storage_types
.
Storage-related attributes that are available for a given instance type.
sourcepub fn set_storage_types(self, input: Option<Vec<StorageType>>) -> Self
pub fn set_storage_types(self, input: Option<Vec<StorageType>>) -> Self
Storage-related attributes that are available for a given instance type.
sourcepub fn get_storage_types(&self) -> &Option<Vec<StorageType>>
pub fn get_storage_types(&self) -> &Option<Vec<StorageType>>
Storage-related attributes that are available for a given instance type.
sourcepub fn instance_limits(self, input: InstanceLimits) -> Self
pub fn instance_limits(self, input: InstanceLimits) -> Self
The limits for a given instance type.
sourcepub fn set_instance_limits(self, input: Option<InstanceLimits>) -> Self
pub fn set_instance_limits(self, input: Option<InstanceLimits>) -> Self
The limits for a given instance type.
sourcepub fn get_instance_limits(&self) -> &Option<InstanceLimits>
pub fn get_instance_limits(&self) -> &Option<InstanceLimits>
The limits for a given instance type.
sourcepub fn additional_limits(self, input: AdditionalLimit) -> Self
pub fn additional_limits(self, input: AdditionalLimit) -> Self
Appends an item to additional_limits
.
To override the contents of this collection use set_additional_limits
.
List of additional limits that are specific to a given instance type for each of its instance roles.
sourcepub fn set_additional_limits(self, input: Option<Vec<AdditionalLimit>>) -> Self
pub fn set_additional_limits(self, input: Option<Vec<AdditionalLimit>>) -> Self
List of additional limits that are specific to a given instance type for each of its instance roles.
sourcepub fn get_additional_limits(&self) -> &Option<Vec<AdditionalLimit>>
pub fn get_additional_limits(&self) -> &Option<Vec<AdditionalLimit>>
List of additional limits that are specific to a given instance type for each of its instance roles.
Trait Implementations§
source§impl Clone for LimitsBuilder
impl Clone for LimitsBuilder
source§fn clone(&self) -> LimitsBuilder
fn clone(&self) -> LimitsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LimitsBuilder
impl Debug for LimitsBuilder
source§impl Default for LimitsBuilder
impl Default for LimitsBuilder
source§fn default() -> LimitsBuilder
fn default() -> LimitsBuilder
source§impl PartialEq for LimitsBuilder
impl PartialEq for LimitsBuilder
source§fn eq(&self, other: &LimitsBuilder) -> bool
fn eq(&self, other: &LimitsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LimitsBuilder
Auto Trait Implementations§
impl Freeze for LimitsBuilder
impl RefUnwindSafe for LimitsBuilder
impl Send for LimitsBuilder
impl Sync for LimitsBuilder
impl Unpin for LimitsBuilder
impl UnwindSafe for LimitsBuilder
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