#[non_exhaustive]pub struct CreateArchiveOutputBuilder { /* private fields */ }
Expand description
A builder for CreateArchiveOutput
.
Implementations§
source§impl CreateArchiveOutputBuilder
impl CreateArchiveOutputBuilder
sourcepub fn archive_id(self, input: impl Into<String>) -> Self
pub fn archive_id(self, input: impl Into<String>) -> Self
The unique identifier for the newly created archive.
This field is required.sourcepub fn set_archive_id(self, input: Option<String>) -> Self
pub fn set_archive_id(self, input: Option<String>) -> Self
The unique identifier for the newly created archive.
sourcepub fn get_archive_id(&self) -> &Option<String>
pub fn get_archive_id(&self) -> &Option<String>
The unique identifier for the newly created archive.
sourcepub fn build(self) -> Result<CreateArchiveOutput, BuildError>
pub fn build(self) -> Result<CreateArchiveOutput, BuildError>
Consumes the builder and constructs a CreateArchiveOutput
.
This method will fail if any of the following fields are not set:
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.