Struct aws_sdk_memorydb::operation::describe_snapshots::builders::DescribeSnapshotsOutputBuilder
source · #[non_exhaustive]pub struct DescribeSnapshotsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeSnapshotsOutput.
Implementations§
source§impl DescribeSnapshotsOutputBuilder
impl DescribeSnapshotsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
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.
A list of snapshots. Each item in the list contains detailed information about one snapshot.
sourcepub fn set_snapshots(self, input: Option<Vec<Snapshot>>) -> Self
pub fn set_snapshots(self, input: Option<Vec<Snapshot>>) -> Self
A list of snapshots. Each item in the list contains detailed information about one snapshot.
sourcepub fn get_snapshots(&self) -> &Option<Vec<Snapshot>>
pub fn get_snapshots(&self) -> &Option<Vec<Snapshot>>
A list of snapshots. Each item in the list contains detailed information about one snapshot.
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 ==.