Struct aws_sdk_backup::operation::create_logically_air_gapped_backup_vault::CreateLogicallyAirGappedBackupVaultInput
source · #[non_exhaustive]pub struct CreateLogicallyAirGappedBackupVaultInput {
pub backup_vault_name: Option<String>,
pub backup_vault_tags: Option<HashMap<String, String>>,
pub creator_request_id: Option<String>,
pub min_retention_days: Option<i64>,
pub max_retention_days: Option<i64>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.backup_vault_name: Option<String>
This is the name of the vault that is being created.
These are the tags that will be included in the newly-created vault.
creator_request_id: Option<String>
This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
min_retention_days: Option<i64>
This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
max_retention_days: Option<i64>
This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
Implementations§
source§impl CreateLogicallyAirGappedBackupVaultInput
impl CreateLogicallyAirGappedBackupVaultInput
sourcepub fn backup_vault_name(&self) -> Option<&str>
pub fn backup_vault_name(&self) -> Option<&str>
This is the name of the vault that is being created.
These are the tags that will be included in the newly-created vault.
sourcepub fn creator_request_id(&self) -> Option<&str>
pub fn creator_request_id(&self) -> Option<&str>
This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn min_retention_days(&self) -> Option<i64>
pub fn min_retention_days(&self) -> Option<i64>
This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
sourcepub fn max_retention_days(&self) -> Option<i64>
pub fn max_retention_days(&self) -> Option<i64>
This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
source§impl CreateLogicallyAirGappedBackupVaultInput
impl CreateLogicallyAirGappedBackupVaultInput
sourcepub fn builder() -> CreateLogicallyAirGappedBackupVaultInputBuilder
pub fn builder() -> CreateLogicallyAirGappedBackupVaultInputBuilder
Creates a new builder-style object to manufacture CreateLogicallyAirGappedBackupVaultInput
.
Trait Implementations§
source§impl Clone for CreateLogicallyAirGappedBackupVaultInput
impl Clone for CreateLogicallyAirGappedBackupVaultInput
source§fn clone(&self) -> CreateLogicallyAirGappedBackupVaultInput
fn clone(&self) -> CreateLogicallyAirGappedBackupVaultInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateLogicallyAirGappedBackupVaultInput
impl PartialEq for CreateLogicallyAirGappedBackupVaultInput
source§fn eq(&self, other: &CreateLogicallyAirGappedBackupVaultInput) -> bool
fn eq(&self, other: &CreateLogicallyAirGappedBackupVaultInput) -> bool
self
and other
values to be equal, and is used
by ==
.