Struct aws_sdk_sagemaker::types::builders::TtlDurationBuilder
source · #[non_exhaustive]pub struct TtlDurationBuilder { /* private fields */ }
Expand description
A builder for TtlDuration
.
Implementations§
source§impl TtlDurationBuilder
impl TtlDurationBuilder
sourcepub fn unit(self, input: TtlDurationUnit) -> Self
pub fn unit(self, input: TtlDurationUnit) -> Self
TtlDuration
time unit.
sourcepub fn set_unit(self, input: Option<TtlDurationUnit>) -> Self
pub fn set_unit(self, input: Option<TtlDurationUnit>) -> Self
TtlDuration
time unit.
sourcepub fn get_unit(&self) -> &Option<TtlDurationUnit>
pub fn get_unit(&self) -> &Option<TtlDurationUnit>
TtlDuration
time unit.
sourcepub fn build(self) -> TtlDuration
pub fn build(self) -> TtlDuration
Consumes the builder and constructs a TtlDuration
.
Trait Implementations§
source§impl Clone for TtlDurationBuilder
impl Clone for TtlDurationBuilder
source§fn clone(&self) -> TtlDurationBuilder
fn clone(&self) -> TtlDurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TtlDurationBuilder
impl Debug for TtlDurationBuilder
source§impl Default for TtlDurationBuilder
impl Default for TtlDurationBuilder
source§fn default() -> TtlDurationBuilder
fn default() -> TtlDurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TtlDurationBuilder
impl PartialEq for TtlDurationBuilder
source§fn eq(&self, other: &TtlDurationBuilder) -> bool
fn eq(&self, other: &TtlDurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TtlDurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TtlDurationBuilder
impl Send for TtlDurationBuilder
impl Sync for TtlDurationBuilder
impl Unpin for TtlDurationBuilder
impl UnwindSafe for TtlDurationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.