#[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<RecoveryPointSelectionBuilder> for RecoveryPointSelectionBuilder
impl PartialEq<RecoveryPointSelectionBuilder> 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 ==
.