#[non_exhaustive]pub struct ThroughputConfigUpdateBuilder { /* private fields */ }
Expand description
A builder for ThroughputConfigUpdate
.
Implementations§
source§impl ThroughputConfigUpdateBuilder
impl ThroughputConfigUpdateBuilder
sourcepub fn throughput_mode(self, input: ThroughputMode) -> Self
pub fn throughput_mode(self, input: ThroughputMode) -> Self
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling LastUpdateStatus
field in DescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.
sourcepub fn set_throughput_mode(self, input: Option<ThroughputMode>) -> Self
pub fn set_throughput_mode(self, input: Option<ThroughputMode>) -> Self
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling LastUpdateStatus
field in DescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.
sourcepub fn get_throughput_mode(&self) -> &Option<ThroughputMode>
pub fn get_throughput_mode(&self) -> &Option<ThroughputMode>
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling LastUpdateStatus
field in DescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.
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.
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.
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.
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.
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.
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.
sourcepub fn build(self) -> ThroughputConfigUpdate
pub fn build(self) -> ThroughputConfigUpdate
Consumes the builder and constructs a ThroughputConfigUpdate
.
Trait Implementations§
source§impl Clone for ThroughputConfigUpdateBuilder
impl Clone for ThroughputConfigUpdateBuilder
source§fn clone(&self) -> ThroughputConfigUpdateBuilder
fn clone(&self) -> ThroughputConfigUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ThroughputConfigUpdateBuilder
impl Default for ThroughputConfigUpdateBuilder
source§fn default() -> ThroughputConfigUpdateBuilder
fn default() -> ThroughputConfigUpdateBuilder
source§impl PartialEq for ThroughputConfigUpdateBuilder
impl PartialEq for ThroughputConfigUpdateBuilder
source§fn eq(&self, other: &ThroughputConfigUpdateBuilder) -> bool
fn eq(&self, other: &ThroughputConfigUpdateBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ThroughputConfigUpdateBuilder
Auto Trait Implementations§
impl Freeze for ThroughputConfigUpdateBuilder
impl RefUnwindSafe for ThroughputConfigUpdateBuilder
impl Send for ThroughputConfigUpdateBuilder
impl Sync for ThroughputConfigUpdateBuilder
impl Unpin for ThroughputConfigUpdateBuilder
impl UnwindSafe for ThroughputConfigUpdateBuilder
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