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