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.
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.
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
source§fn eq(&self, other: &FrameworkControl) -> bool
fn eq(&self, other: &FrameworkControl) -> bool
self
and other
values to be equal, and is used
by ==
.