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
impl StructuralPartialEq for ThroughputConfigBuilder
Auto Trait Implementations§
impl Freeze for ThroughputConfigBuilder
impl RefUnwindSafe for ThroughputConfigBuilder
impl Send for ThroughputConfigBuilder
impl Sync for ThroughputConfigBuilder
impl Unpin for ThroughputConfigBuilder
impl UnwindSafe for ThroughputConfigBuilder
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