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 ==
.impl StructuralPartialEq for RecoveryPointSelection
Auto Trait Implementations§
impl Freeze for RecoveryPointSelection
impl RefUnwindSafe for RecoveryPointSelection
impl Send for RecoveryPointSelection
impl Sync for RecoveryPointSelection
impl Unpin for RecoveryPointSelection
impl UnwindSafe for RecoveryPointSelection
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