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 ==.