Struct aws_sdk_redshift::operation::batch_modify_cluster_snapshots::builders::BatchModifyClusterSnapshotsOutputBuilder
source · #[non_exhaustive]pub struct BatchModifyClusterSnapshotsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchModifyClusterSnapshotsOutput
.
Implementations§
source§impl BatchModifyClusterSnapshotsOutputBuilder
impl BatchModifyClusterSnapshotsOutputBuilder
sourcepub fn resources(self, input: impl Into<String>) -> Self
pub fn resources(self, input: impl Into<String>) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
A list of the snapshots that were modified.
sourcepub fn set_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_resources(self, input: Option<Vec<String>>) -> Self
A list of the snapshots that were modified.
sourcepub fn get_resources(&self) -> &Option<Vec<String>>
pub fn get_resources(&self) -> &Option<Vec<String>>
A list of the snapshots that were modified.
sourcepub fn errors(self, input: SnapshotErrorMessage) -> Self
pub fn errors(self, input: SnapshotErrorMessage) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
A list of any errors returned.
sourcepub fn set_errors(self, input: Option<Vec<SnapshotErrorMessage>>) -> Self
pub fn set_errors(self, input: Option<Vec<SnapshotErrorMessage>>) -> Self
A list of any errors returned.
sourcepub fn get_errors(&self) -> &Option<Vec<SnapshotErrorMessage>>
pub fn get_errors(&self) -> &Option<Vec<SnapshotErrorMessage>>
A list of any errors returned.
sourcepub fn build(self) -> BatchModifyClusterSnapshotsOutput
pub fn build(self) -> BatchModifyClusterSnapshotsOutput
Consumes the builder and constructs a BatchModifyClusterSnapshotsOutput
.
Trait Implementations§
source§impl Clone for BatchModifyClusterSnapshotsOutputBuilder
impl Clone for BatchModifyClusterSnapshotsOutputBuilder
source§fn clone(&self) -> BatchModifyClusterSnapshotsOutputBuilder
fn clone(&self) -> BatchModifyClusterSnapshotsOutputBuilder
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 Default for BatchModifyClusterSnapshotsOutputBuilder
impl Default for BatchModifyClusterSnapshotsOutputBuilder
source§fn default() -> BatchModifyClusterSnapshotsOutputBuilder
fn default() -> BatchModifyClusterSnapshotsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchModifyClusterSnapshotsOutputBuilder
impl PartialEq for BatchModifyClusterSnapshotsOutputBuilder
source§fn eq(&self, other: &BatchModifyClusterSnapshotsOutputBuilder) -> bool
fn eq(&self, other: &BatchModifyClusterSnapshotsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchModifyClusterSnapshotsOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchModifyClusterSnapshotsOutputBuilder
impl RefUnwindSafe for BatchModifyClusterSnapshotsOutputBuilder
impl Send for BatchModifyClusterSnapshotsOutputBuilder
impl Sync for BatchModifyClusterSnapshotsOutputBuilder
impl Unpin for BatchModifyClusterSnapshotsOutputBuilder
impl UnwindSafe for BatchModifyClusterSnapshotsOutputBuilder
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>
Creates a shared type from an unshared type.