Struct aws_sdk_cloudhsmv2::operation::modify_backup_attributes::builders::ModifyBackupAttributesOutputBuilder
source · #[non_exhaustive]pub struct ModifyBackupAttributesOutputBuilder { /* private fields */ }Expand description
A builder for ModifyBackupAttributesOutput.
Implementations§
source§impl ModifyBackupAttributesOutputBuilder
impl ModifyBackupAttributesOutputBuilder
sourcepub fn backup(self, input: Backup) -> Self
pub fn backup(self, input: Backup) -> Self
Contains information about a backup of an AWS CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter.
sourcepub fn set_backup(self, input: Option<Backup>) -> Self
pub fn set_backup(self, input: Option<Backup>) -> Self
Contains information about a backup of an AWS CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter.
sourcepub fn get_backup(&self) -> &Option<Backup>
pub fn get_backup(&self) -> &Option<Backup>
Contains information about a backup of an AWS CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter.
sourcepub fn build(self) -> ModifyBackupAttributesOutput
pub fn build(self) -> ModifyBackupAttributesOutput
Consumes the builder and constructs a ModifyBackupAttributesOutput.
Trait Implementations§
source§impl Clone for ModifyBackupAttributesOutputBuilder
impl Clone for ModifyBackupAttributesOutputBuilder
source§fn clone(&self) -> ModifyBackupAttributesOutputBuilder
fn clone(&self) -> ModifyBackupAttributesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyBackupAttributesOutputBuilder
impl Default for ModifyBackupAttributesOutputBuilder
source§fn default() -> ModifyBackupAttributesOutputBuilder
fn default() -> ModifyBackupAttributesOutputBuilder
source§impl PartialEq for ModifyBackupAttributesOutputBuilder
impl PartialEq for ModifyBackupAttributesOutputBuilder
source§fn eq(&self, other: &ModifyBackupAttributesOutputBuilder) -> bool
fn eq(&self, other: &ModifyBackupAttributesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyBackupAttributesOutputBuilder
Auto Trait Implementations§
impl Freeze for ModifyBackupAttributesOutputBuilder
impl RefUnwindSafe for ModifyBackupAttributesOutputBuilder
impl Send for ModifyBackupAttributesOutputBuilder
impl Sync for ModifyBackupAttributesOutputBuilder
impl Unpin for ModifyBackupAttributesOutputBuilder
impl UnwindSafe for ModifyBackupAttributesOutputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more