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