#[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 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 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 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 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<CreateArchiveOutputBuilder> for CreateArchiveOutputBuilder
impl PartialEq<CreateArchiveOutputBuilder> 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 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