Struct aws_sdk_sagemaker::types::builders::ThroughputConfigBuilder
source · #[non_exhaustive]pub struct ThroughputConfigBuilder { /* private fields */ }
Expand description
A builder for ThroughputConfig
.
Implementations§
source§impl ThroughputConfigBuilder
impl ThroughputConfigBuilder
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) -> ThroughputConfig
pub fn build(self) -> ThroughputConfig
Consumes the builder and constructs a ThroughputConfig
.
Trait Implementations§
source§impl Clone for ThroughputConfigBuilder
impl Clone for ThroughputConfigBuilder
source§fn clone(&self) -> ThroughputConfigBuilder
fn clone(&self) -> ThroughputConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThroughputConfigBuilder
impl Debug for ThroughputConfigBuilder
source§impl Default for ThroughputConfigBuilder
impl Default for ThroughputConfigBuilder
source§fn default() -> ThroughputConfigBuilder
fn default() -> ThroughputConfigBuilder
source§impl PartialEq for ThroughputConfigBuilder
impl PartialEq for ThroughputConfigBuilder
source§fn eq(&self, other: &ThroughputConfigBuilder) -> bool
fn eq(&self, other: &ThroughputConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.