Struct aws_sdk_ec2::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresOutputBuilder
source · #[non_exhaustive]pub struct EnableFastSnapshotRestoresOutputBuilder { /* private fields */ }Expand description
A builder for EnableFastSnapshotRestoresOutput.
Implementations§
source§impl EnableFastSnapshotRestoresOutputBuilder
impl EnableFastSnapshotRestoresOutputBuilder
sourcepub fn successful(self, input: EnableFastSnapshotRestoreSuccessItem) -> Self
pub fn successful(self, input: EnableFastSnapshotRestoreSuccessItem) -> Self
Appends an item to successful.
To override the contents of this collection use set_successful.
Information about the snapshots for which fast snapshot restores were successfully enabled.
sourcepub fn set_successful(
self,
input: Option<Vec<EnableFastSnapshotRestoreSuccessItem>>
) -> Self
pub fn set_successful( self, input: Option<Vec<EnableFastSnapshotRestoreSuccessItem>> ) -> Self
Information about the snapshots for which fast snapshot restores were successfully enabled.
sourcepub fn get_successful(
&self
) -> &Option<Vec<EnableFastSnapshotRestoreSuccessItem>>
pub fn get_successful( &self ) -> &Option<Vec<EnableFastSnapshotRestoreSuccessItem>>
Information about the snapshots for which fast snapshot restores were successfully enabled.
sourcepub fn unsuccessful(self, input: EnableFastSnapshotRestoreErrorItem) -> Self
pub fn unsuccessful(self, input: EnableFastSnapshotRestoreErrorItem) -> Self
Appends an item to unsuccessful.
To override the contents of this collection use set_unsuccessful.
Information about the snapshots for which fast snapshot restores could not be enabled.
sourcepub fn set_unsuccessful(
self,
input: Option<Vec<EnableFastSnapshotRestoreErrorItem>>
) -> Self
pub fn set_unsuccessful( self, input: Option<Vec<EnableFastSnapshotRestoreErrorItem>> ) -> Self
Information about the snapshots for which fast snapshot restores could not be enabled.
sourcepub fn get_unsuccessful(
&self
) -> &Option<Vec<EnableFastSnapshotRestoreErrorItem>>
pub fn get_unsuccessful( &self ) -> &Option<Vec<EnableFastSnapshotRestoreErrorItem>>
Information about the snapshots for which fast snapshot restores could not be enabled.
sourcepub fn build(self) -> EnableFastSnapshotRestoresOutput
pub fn build(self) -> EnableFastSnapshotRestoresOutput
Consumes the builder and constructs a EnableFastSnapshotRestoresOutput.
Trait Implementations§
source§impl Clone for EnableFastSnapshotRestoresOutputBuilder
impl Clone for EnableFastSnapshotRestoresOutputBuilder
source§fn clone(&self) -> EnableFastSnapshotRestoresOutputBuilder
fn clone(&self) -> EnableFastSnapshotRestoresOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EnableFastSnapshotRestoresOutputBuilder
impl Default for EnableFastSnapshotRestoresOutputBuilder
source§fn default() -> EnableFastSnapshotRestoresOutputBuilder
fn default() -> EnableFastSnapshotRestoresOutputBuilder
source§impl PartialEq<EnableFastSnapshotRestoresOutputBuilder> for EnableFastSnapshotRestoresOutputBuilder
impl PartialEq<EnableFastSnapshotRestoresOutputBuilder> for EnableFastSnapshotRestoresOutputBuilder
source§fn eq(&self, other: &EnableFastSnapshotRestoresOutputBuilder) -> bool
fn eq(&self, other: &EnableFastSnapshotRestoresOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.