Struct aws_sdk_backup::types::RecoveryPointSelection
source · #[non_exhaustive]pub struct RecoveryPointSelection {
pub vault_names: Option<Vec<String>>,
pub resource_identifiers: Option<Vec<String>>,
pub date_range: Option<DateRange>,
}
Expand description
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
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.vault_names: Option<Vec<String>>
These are the names of the vaults in which the selected recovery points are contained.
resource_identifiers: Option<Vec<String>>
These are the resources included in the resource selection (including type of resources and vaults).
date_range: Option<DateRange>
This is a resource filter containing FromDate: DateTime and ToDate: DateTime. Both values are required. Future DateTime values are not permitted.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds ((milliseconds are optional). For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
Implementations§
source§impl RecoveryPointSelection
impl RecoveryPointSelection
sourcepub fn vault_names(&self) -> &[String]
pub fn vault_names(&self) -> &[String]
These are the names of the vaults in which the selected recovery points are contained.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vault_names.is_none()
.
sourcepub fn resource_identifiers(&self) -> &[String]
pub fn resource_identifiers(&self) -> &[String]
These are the resources included in the resource selection (including type of resources and vaults).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_identifiers.is_none()
.
sourcepub fn date_range(&self) -> Option<&DateRange>
pub fn date_range(&self) -> Option<&DateRange>
This is a resource filter containing FromDate: DateTime and ToDate: DateTime. Both values are required. Future DateTime values are not permitted.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds ((milliseconds are optional). For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
source§impl RecoveryPointSelection
impl RecoveryPointSelection
sourcepub fn builder() -> RecoveryPointSelectionBuilder
pub fn builder() -> RecoveryPointSelectionBuilder
Creates a new builder-style object to manufacture RecoveryPointSelection
.
Trait Implementations§
source§impl Clone for RecoveryPointSelection
impl Clone for RecoveryPointSelection
source§fn clone(&self) -> RecoveryPointSelection
fn clone(&self) -> RecoveryPointSelection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecoveryPointSelection
impl Debug for RecoveryPointSelection
source§impl PartialEq for RecoveryPointSelection
impl PartialEq for RecoveryPointSelection
source§fn eq(&self, other: &RecoveryPointSelection) -> bool
fn eq(&self, other: &RecoveryPointSelection) -> bool
self
and other
values to be equal, and is used
by ==
.