#[non_exhaustive]pub struct IndexCapacityConfigurationBuilder { /* private fields */ }Expand description
A builder for IndexCapacityConfiguration.
Implementations§
source§impl IndexCapacityConfigurationBuilder
impl IndexCapacityConfigurationBuilder
sourcepub fn units(self, input: i32) -> Self
pub fn units(self, input: i32) -> Self
The number of storage units configured for an Amazon Q index.
sourcepub fn set_units(self, input: Option<i32>) -> Self
pub fn set_units(self, input: Option<i32>) -> Self
The number of storage units configured for an Amazon Q index.
sourcepub fn get_units(&self) -> &Option<i32>
pub fn get_units(&self) -> &Option<i32>
The number of storage units configured for an Amazon Q index.
sourcepub fn build(self) -> IndexCapacityConfiguration
pub fn build(self) -> IndexCapacityConfiguration
Consumes the builder and constructs a IndexCapacityConfiguration.
Trait Implementations§
source§impl Clone for IndexCapacityConfigurationBuilder
impl Clone for IndexCapacityConfigurationBuilder
source§fn clone(&self) -> IndexCapacityConfigurationBuilder
fn clone(&self) -> IndexCapacityConfigurationBuilder
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 Default for IndexCapacityConfigurationBuilder
impl Default for IndexCapacityConfigurationBuilder
source§fn default() -> IndexCapacityConfigurationBuilder
fn default() -> IndexCapacityConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IndexCapacityConfigurationBuilder
impl PartialEq for IndexCapacityConfigurationBuilder
source§fn eq(&self, other: &IndexCapacityConfigurationBuilder) -> bool
fn eq(&self, other: &IndexCapacityConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IndexCapacityConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IndexCapacityConfigurationBuilder
impl Send for IndexCapacityConfigurationBuilder
impl Sync for IndexCapacityConfigurationBuilder
impl Unpin for IndexCapacityConfigurationBuilder
impl UnwindSafe for IndexCapacityConfigurationBuilder
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>
Creates a shared type from an unshared type.