#[non_exhaustive]pub struct UpdateArchiveOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateArchiveOutput
.
Implementations§
source§impl UpdateArchiveOutputBuilder
impl UpdateArchiveOutputBuilder
sourcepub fn archive_arn(self, input: impl Into<String>) -> Self
pub fn archive_arn(self, input: impl Into<String>) -> Self
The ARN of the archive.
sourcepub fn set_archive_arn(self, input: Option<String>) -> Self
pub fn set_archive_arn(self, input: Option<String>) -> Self
The ARN of the archive.
sourcepub fn get_archive_arn(&self) -> &Option<String>
pub fn get_archive_arn(&self) -> &Option<String>
The ARN of the archive.
sourcepub fn state(self, input: ArchiveState) -> Self
pub fn state(self, input: ArchiveState) -> Self
The state of the archive.
sourcepub fn set_state(self, input: Option<ArchiveState>) -> Self
pub fn set_state(self, input: Option<ArchiveState>) -> Self
The state of the archive.
sourcepub fn get_state(&self) -> &Option<ArchiveState>
pub fn get_state(&self) -> &Option<ArchiveState>
The state of the archive.
sourcepub fn state_reason(self, input: impl Into<String>) -> Self
pub fn state_reason(self, input: impl Into<String>) -> Self
The reason that the archive is in the current state.
sourcepub fn set_state_reason(self, input: Option<String>) -> Self
pub fn set_state_reason(self, input: Option<String>) -> Self
The reason that the archive is in the current state.
sourcepub fn get_state_reason(&self) -> &Option<String>
pub fn get_state_reason(&self) -> &Option<String>
The reason that the archive is in the current state.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time at which the archive was updated.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time at which the archive was updated.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time at which the archive was updated.
sourcepub fn build(self) -> UpdateArchiveOutput
pub fn build(self) -> UpdateArchiveOutput
Consumes the builder and constructs a UpdateArchiveOutput
.
Trait Implementations§
source§impl Clone for UpdateArchiveOutputBuilder
impl Clone for UpdateArchiveOutputBuilder
source§fn clone(&self) -> UpdateArchiveOutputBuilder
fn clone(&self) -> UpdateArchiveOutputBuilder
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 UpdateArchiveOutputBuilder
impl Debug for UpdateArchiveOutputBuilder
source§impl Default for UpdateArchiveOutputBuilder
impl Default for UpdateArchiveOutputBuilder
source§fn default() -> UpdateArchiveOutputBuilder
fn default() -> UpdateArchiveOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateArchiveOutputBuilder
impl PartialEq for UpdateArchiveOutputBuilder
source§fn eq(&self, other: &UpdateArchiveOutputBuilder) -> bool
fn eq(&self, other: &UpdateArchiveOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateArchiveOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateArchiveOutputBuilder
impl RefUnwindSafe for UpdateArchiveOutputBuilder
impl Send for UpdateArchiveOutputBuilder
impl Sync for UpdateArchiveOutputBuilder
impl Unpin for UpdateArchiveOutputBuilder
impl UnwindSafe for UpdateArchiveOutputBuilder
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.