#[non_exhaustive]pub struct ThroughputConfigDescriptionBuilder { /* private fields */ }
Expand description
A builder for ThroughputConfigDescription
.
Implementations§
source§impl ThroughputConfigDescriptionBuilder
impl ThroughputConfigDescriptionBuilder
sourcepub fn throughput_mode(self, input: ThroughputMode) -> Self
pub fn throughput_mode(self, input: ThroughputMode) -> Self
The mode used for your feature group throughput: ON_DEMAND
or PROVISIONED
.
sourcepub fn set_throughput_mode(self, input: Option<ThroughputMode>) -> Self
pub fn set_throughput_mode(self, input: Option<ThroughputMode>) -> Self
The mode used for your feature group throughput: ON_DEMAND
or PROVISIONED
.
sourcepub fn get_throughput_mode(&self) -> &Option<ThroughputMode>
pub fn get_throughput_mode(&self) -> &Option<ThroughputMode>
The mode used for your feature group throughput: ON_DEMAND
or PROVISIONED
.
sourcepub fn provisioned_read_capacity_units(self, input: i32) -> Self
pub fn provisioned_read_capacity_units(self, input: i32) -> Self
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
sourcepub fn set_provisioned_read_capacity_units(self, input: Option<i32>) -> Self
pub fn set_provisioned_read_capacity_units(self, input: Option<i32>) -> Self
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
sourcepub fn get_provisioned_read_capacity_units(&self) -> &Option<i32>
pub fn get_provisioned_read_capacity_units(&self) -> &Option<i32>
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
sourcepub fn provisioned_write_capacity_units(self, input: i32) -> Self
pub fn provisioned_write_capacity_units(self, input: i32) -> Self
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
sourcepub fn set_provisioned_write_capacity_units(self, input: Option<i32>) -> Self
pub fn set_provisioned_write_capacity_units(self, input: Option<i32>) -> Self
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
sourcepub fn get_provisioned_write_capacity_units(&self) -> &Option<i32>
pub fn get_provisioned_write_capacity_units(&self) -> &Option<i32>
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
sourcepub fn build(self) -> ThroughputConfigDescription
pub fn build(self) -> ThroughputConfigDescription
Consumes the builder and constructs a ThroughputConfigDescription
.
Trait Implementations§
source§impl Clone for ThroughputConfigDescriptionBuilder
impl Clone for ThroughputConfigDescriptionBuilder
source§fn clone(&self) -> ThroughputConfigDescriptionBuilder
fn clone(&self) -> ThroughputConfigDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ThroughputConfigDescriptionBuilder
impl Default for ThroughputConfigDescriptionBuilder
source§fn default() -> ThroughputConfigDescriptionBuilder
fn default() -> ThroughputConfigDescriptionBuilder
source§impl PartialEq for ThroughputConfigDescriptionBuilder
impl PartialEq for ThroughputConfigDescriptionBuilder
source§fn eq(&self, other: &ThroughputConfigDescriptionBuilder) -> bool
fn eq(&self, other: &ThroughputConfigDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ThroughputConfigDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ThroughputConfigDescriptionBuilder
impl RefUnwindSafe for ThroughputConfigDescriptionBuilder
impl Send for ThroughputConfigDescriptionBuilder
impl Sync for ThroughputConfigDescriptionBuilder
impl Unpin for ThroughputConfigDescriptionBuilder
impl UnwindSafe for ThroughputConfigDescriptionBuilder
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