#[non_exhaustive]pub struct DescribeSnapshotsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeSnapshotsOutput
.
Implementations§
source§impl DescribeSnapshotsOutputBuilder
impl DescribeSnapshotsOutputBuilder
sourcepub fn snapshots(self, input: Snapshot) -> Self
pub fn snapshots(self, input: Snapshot) -> Self
Appends an item to snapshots
.
To override the contents of this collection use set_snapshots
.
An array of snapshots.
sourcepub fn set_snapshots(self, input: Option<Vec<Snapshot>>) -> Self
pub fn set_snapshots(self, input: Option<Vec<Snapshot>>) -> Self
An array of snapshots.
sourcepub fn get_snapshots(&self) -> &Option<Vec<Snapshot>>
pub fn get_snapshots(&self) -> &Option<Vec<Snapshot>>
An array of snapshots.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
sourcepub fn build(self) -> DescribeSnapshotsOutput
pub fn build(self) -> DescribeSnapshotsOutput
Consumes the builder and constructs a DescribeSnapshotsOutput
.
Trait Implementations§
source§impl Clone for DescribeSnapshotsOutputBuilder
impl Clone for DescribeSnapshotsOutputBuilder
source§fn clone(&self) -> DescribeSnapshotsOutputBuilder
fn clone(&self) -> DescribeSnapshotsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeSnapshotsOutputBuilder
impl Default for DescribeSnapshotsOutputBuilder
source§fn default() -> DescribeSnapshotsOutputBuilder
fn default() -> DescribeSnapshotsOutputBuilder
source§impl PartialEq for DescribeSnapshotsOutputBuilder
impl PartialEq for DescribeSnapshotsOutputBuilder
source§fn eq(&self, other: &DescribeSnapshotsOutputBuilder) -> bool
fn eq(&self, other: &DescribeSnapshotsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.