#[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 ==
.