Struct aws_sdk_backup::operation::create_restore_testing_selection::CreateRestoreTestingSelectionInput
source · #[non_exhaustive]pub struct CreateRestoreTestingSelectionInput {
pub creator_request_id: Option<String>,
pub restore_testing_plan_name: Option<String>,
pub restore_testing_selection: Option<RestoreTestingSelectionForCreate>,
}
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.creator_request_id: Option<String>
This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
restore_testing_plan_name: Option<String>
Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.
restore_testing_selection: Option<RestoreTestingSelectionForCreate>
This consists of RestoreTestingSelectionName
, ProtectedResourceType
, and one of the following:
-
ProtectedResourceArns
-
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns
along with ProtectedResourceConditions
. Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns
.
Implementations§
source§impl CreateRestoreTestingSelectionInput
impl CreateRestoreTestingSelectionInput
sourcepub fn creator_request_id(&self) -> Option<&str>
pub fn creator_request_id(&self) -> Option<&str>
This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn restore_testing_plan_name(&self) -> Option<&str>
pub fn restore_testing_plan_name(&self) -> Option<&str>
Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.
sourcepub fn restore_testing_selection(
&self
) -> Option<&RestoreTestingSelectionForCreate>
pub fn restore_testing_selection( &self ) -> Option<&RestoreTestingSelectionForCreate>
This consists of RestoreTestingSelectionName
, ProtectedResourceType
, and one of the following:
-
ProtectedResourceArns
-
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns
along with ProtectedResourceConditions
. Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns
.
source§impl CreateRestoreTestingSelectionInput
impl CreateRestoreTestingSelectionInput
sourcepub fn builder() -> CreateRestoreTestingSelectionInputBuilder
pub fn builder() -> CreateRestoreTestingSelectionInputBuilder
Creates a new builder-style object to manufacture CreateRestoreTestingSelectionInput
.
Trait Implementations§
source§impl Clone for CreateRestoreTestingSelectionInput
impl Clone for CreateRestoreTestingSelectionInput
source§fn clone(&self) -> CreateRestoreTestingSelectionInput
fn clone(&self) -> CreateRestoreTestingSelectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateRestoreTestingSelectionInput
impl PartialEq for CreateRestoreTestingSelectionInput
source§fn eq(&self, other: &CreateRestoreTestingSelectionInput) -> bool
fn eq(&self, other: &CreateRestoreTestingSelectionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRestoreTestingSelectionInput
Auto Trait Implementations§
impl Freeze for CreateRestoreTestingSelectionInput
impl RefUnwindSafe for CreateRestoreTestingSelectionInput
impl Send for CreateRestoreTestingSelectionInput
impl Sync for CreateRestoreTestingSelectionInput
impl Unpin for CreateRestoreTestingSelectionInput
impl UnwindSafe for CreateRestoreTestingSelectionInput
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