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 ==
.impl StructuralPartialEq for CreateLogicallyAirGappedBackupVaultInput
Auto Trait Implementations§
impl Freeze for CreateLogicallyAirGappedBackupVaultInput
impl RefUnwindSafe for CreateLogicallyAirGappedBackupVaultInput
impl Send for CreateLogicallyAirGappedBackupVaultInput
impl Sync for CreateLogicallyAirGappedBackupVaultInput
impl Unpin for CreateLogicallyAirGappedBackupVaultInput
impl UnwindSafe for CreateLogicallyAirGappedBackupVaultInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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