Struct aws_sdk_backup::types::FrameworkControl
source · #[non_exhaustive]pub struct FrameworkControl {
pub control_name: String,
pub control_input_parameters: Option<Vec<ControlInputParameter>>,
pub control_scope: Option<ControlScope>,
}
Expand description
Contains detailed information about all of the controls of a framework. Each framework must contain at least one control.
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.control_name: String
The name of a control. This name is between 1 and 256 characters.
control_input_parameters: Option<Vec<ControlInputParameter>>
A list of ParameterName
and ParameterValue
pairs.
control_scope: Option<ControlScope>
The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
For more information, see ControlScope
.
Implementations§
source§impl FrameworkControl
impl FrameworkControl
sourcepub fn control_name(&self) -> &str
pub fn control_name(&self) -> &str
The name of a control. This name is between 1 and 256 characters.
sourcepub fn control_input_parameters(&self) -> &[ControlInputParameter]
pub fn control_input_parameters(&self) -> &[ControlInputParameter]
A list of ParameterName
and ParameterValue
pairs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .control_input_parameters.is_none()
.
sourcepub fn control_scope(&self) -> Option<&ControlScope>
pub fn control_scope(&self) -> Option<&ControlScope>
The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
For more information, see ControlScope
.
source§impl FrameworkControl
impl FrameworkControl
sourcepub fn builder() -> FrameworkControlBuilder
pub fn builder() -> FrameworkControlBuilder
Creates a new builder-style object to manufacture FrameworkControl
.
Trait Implementations§
source§impl Clone for FrameworkControl
impl Clone for FrameworkControl
source§fn clone(&self) -> FrameworkControl
fn clone(&self) -> FrameworkControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FrameworkControl
impl Debug for FrameworkControl
source§impl PartialEq for FrameworkControl
impl PartialEq for FrameworkControl
impl StructuralPartialEq for FrameworkControl
Auto Trait Implementations§
impl Freeze for FrameworkControl
impl RefUnwindSafe for FrameworkControl
impl Send for FrameworkControl
impl Sync for FrameworkControl
impl Unpin for FrameworkControl
impl UnwindSafe for FrameworkControl
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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