Struct aws_sdk_rbin::types::builders::UnlockDelayBuilder
source · #[non_exhaustive]pub struct UnlockDelayBuilder { /* private fields */ }
Expand description
A builder for UnlockDelay
.
Implementations§
source§impl UnlockDelayBuilder
impl UnlockDelayBuilder
sourcepub fn unlock_delay_value(self, input: i32) -> Self
pub fn unlock_delay_value(self, input: i32) -> Self
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
This field is required.sourcepub fn set_unlock_delay_value(self, input: Option<i32>) -> Self
pub fn set_unlock_delay_value(self, input: Option<i32>) -> Self
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
sourcepub fn get_unlock_delay_value(&self) -> &Option<i32>
pub fn get_unlock_delay_value(&self) -> &Option<i32>
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
sourcepub fn unlock_delay_unit(self, input: UnlockDelayUnit) -> Self
pub fn unlock_delay_unit(self, input: UnlockDelayUnit) -> Self
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
This field is required.sourcepub fn set_unlock_delay_unit(self, input: Option<UnlockDelayUnit>) -> Self
pub fn set_unlock_delay_unit(self, input: Option<UnlockDelayUnit>) -> Self
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
sourcepub fn get_unlock_delay_unit(&self) -> &Option<UnlockDelayUnit>
pub fn get_unlock_delay_unit(&self) -> &Option<UnlockDelayUnit>
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
sourcepub fn build(self) -> Result<UnlockDelay, BuildError>
pub fn build(self) -> Result<UnlockDelay, BuildError>
Consumes the builder and constructs a UnlockDelay
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UnlockDelayBuilder
impl Clone for UnlockDelayBuilder
source§fn clone(&self) -> UnlockDelayBuilder
fn clone(&self) -> UnlockDelayBuilder
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 UnlockDelayBuilder
impl Debug for UnlockDelayBuilder
source§impl Default for UnlockDelayBuilder
impl Default for UnlockDelayBuilder
source§fn default() -> UnlockDelayBuilder
fn default() -> UnlockDelayBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UnlockDelayBuilder
impl PartialEq for UnlockDelayBuilder
source§fn eq(&self, other: &UnlockDelayBuilder) -> bool
fn eq(&self, other: &UnlockDelayBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnlockDelayBuilder
Auto Trait Implementations§
impl Freeze for UnlockDelayBuilder
impl RefUnwindSafe for UnlockDelayBuilder
impl Send for UnlockDelayBuilder
impl Sync for UnlockDelayBuilder
impl Unpin for UnlockDelayBuilder
impl UnwindSafe for UnlockDelayBuilder
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>
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.