#[non_exhaustive]pub struct RecoveryPointSelectionBuilder { /* private fields */ }
Expand description
A builder for RecoveryPointSelection
.
Implementations§
source§impl RecoveryPointSelectionBuilder
impl RecoveryPointSelectionBuilder
sourcepub fn vault_names(self, input: impl Into<String>) -> Self
pub fn vault_names(self, input: impl Into<String>) -> Self
Appends an item to vault_names
.
To override the contents of this collection use set_vault_names
.
These are the names of the vaults in which the selected recovery points are contained.
sourcepub fn set_vault_names(self, input: Option<Vec<String>>) -> Self
pub fn set_vault_names(self, input: Option<Vec<String>>) -> Self
These are the names of the vaults in which the selected recovery points are contained.
sourcepub fn get_vault_names(&self) -> &Option<Vec<String>>
pub fn get_vault_names(&self) -> &Option<Vec<String>>
These are the names of the vaults in which the selected recovery points are contained.
sourcepub fn resource_identifiers(self, input: impl Into<String>) -> Self
pub fn resource_identifiers(self, input: impl Into<String>) -> Self
Appends an item to resource_identifiers
.
To override the contents of this collection use set_resource_identifiers
.
These are the resources included in the resource selection (including type of resources and vaults).
sourcepub fn set_resource_identifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_resource_identifiers(self, input: Option<Vec<String>>) -> Self
These are the resources included in the resource selection (including type of resources and vaults).
sourcepub fn get_resource_identifiers(&self) -> &Option<Vec<String>>
pub fn get_resource_identifiers(&self) -> &Option<Vec<String>>
These are the resources included in the resource selection (including type of resources and vaults).
sourcepub fn date_range(self, input: DateRange) -> Self
pub fn date_range(self, input: DateRange) -> Self
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.
sourcepub fn set_date_range(self, input: Option<DateRange>) -> Self
pub fn set_date_range(self, input: Option<DateRange>) -> Self
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.
sourcepub fn get_date_range(&self) -> &Option<DateRange>
pub fn get_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.
sourcepub fn build(self) -> RecoveryPointSelection
pub fn build(self) -> RecoveryPointSelection
Consumes the builder and constructs a RecoveryPointSelection
.
Trait Implementations§
source§impl Clone for RecoveryPointSelectionBuilder
impl Clone for RecoveryPointSelectionBuilder
source§fn clone(&self) -> RecoveryPointSelectionBuilder
fn clone(&self) -> RecoveryPointSelectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecoveryPointSelectionBuilder
impl Default for RecoveryPointSelectionBuilder
source§fn default() -> RecoveryPointSelectionBuilder
fn default() -> RecoveryPointSelectionBuilder
source§impl PartialEq for RecoveryPointSelectionBuilder
impl PartialEq for RecoveryPointSelectionBuilder
source§fn eq(&self, other: &RecoveryPointSelectionBuilder) -> bool
fn eq(&self, other: &RecoveryPointSelectionBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RecoveryPointSelectionBuilder
Auto Trait Implementations§
impl Freeze for RecoveryPointSelectionBuilder
impl RefUnwindSafe for RecoveryPointSelectionBuilder
impl Send for RecoveryPointSelectionBuilder
impl Sync for RecoveryPointSelectionBuilder
impl Unpin for RecoveryPointSelectionBuilder
impl UnwindSafe for RecoveryPointSelectionBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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