#[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 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<CreateSnapshotsOutputBuilder> for CreateSnapshotsOutputBuilder
impl PartialEq<CreateSnapshotsOutputBuilder> 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 ==.