#[non_exhaustive]pub struct CreateSnapshotsOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSnapshotsOutput
.
Implementations§
source§impl CreateSnapshotsOutputBuilder
impl CreateSnapshotsOutputBuilder
sourcepub fn snapshots(self, input: SnapshotInfo) -> Self
pub fn snapshots(self, input: SnapshotInfo) -> Self
Appends an item to snapshots
.
To override the contents of this collection use set_snapshots
.
List of snapshots.
sourcepub fn set_snapshots(self, input: Option<Vec<SnapshotInfo>>) -> Self
pub fn set_snapshots(self, input: Option<Vec<SnapshotInfo>>) -> Self
List of snapshots.
sourcepub fn get_snapshots(&self) -> &Option<Vec<SnapshotInfo>>
pub fn get_snapshots(&self) -> &Option<Vec<SnapshotInfo>>
List of snapshots.
sourcepub fn build(self) -> CreateSnapshotsOutput
pub fn build(self) -> CreateSnapshotsOutput
Consumes the builder and constructs a CreateSnapshotsOutput
.
Trait Implementations§
source§impl Clone for CreateSnapshotsOutputBuilder
impl Clone for CreateSnapshotsOutputBuilder
source§fn clone(&self) -> CreateSnapshotsOutputBuilder
fn clone(&self) -> CreateSnapshotsOutputBuilder
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 CreateSnapshotsOutputBuilder
impl Debug for CreateSnapshotsOutputBuilder
source§impl Default for CreateSnapshotsOutputBuilder
impl Default for CreateSnapshotsOutputBuilder
source§fn default() -> CreateSnapshotsOutputBuilder
fn default() -> CreateSnapshotsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateSnapshotsOutputBuilder
impl PartialEq for CreateSnapshotsOutputBuilder
source§fn eq(&self, other: &CreateSnapshotsOutputBuilder) -> bool
fn eq(&self, other: &CreateSnapshotsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSnapshotsOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSnapshotsOutputBuilder
impl RefUnwindSafe for CreateSnapshotsOutputBuilder
impl Send for CreateSnapshotsOutputBuilder
impl Sync for CreateSnapshotsOutputBuilder
impl Unpin for CreateSnapshotsOutputBuilder
impl UnwindSafe for CreateSnapshotsOutputBuilder
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.