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
impl StructuralPartialEq for TtlDurationBuilder
Auto Trait Implementations§
impl Freeze for TtlDurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.