Struct aws_sdk_backup::types::ControlInputParameter
source · #[non_exhaustive]pub struct ControlInputParameter { /* private fields */ }
Expand description
A list of parameters for a control. A control can have zero, one, or more than one parameter. An example of a control with two parameters is: "backup plan frequency is at least daily
and the retention period is at least 1 year
". The first parameter is daily
. The second parameter is 1 year
.
Implementations§
source§impl ControlInputParameter
impl ControlInputParameter
sourcepub fn parameter_name(&self) -> Option<&str>
pub fn parameter_name(&self) -> Option<&str>
The name of a parameter, for example, BackupPlanFrequency
.
sourcepub fn parameter_value(&self) -> Option<&str>
pub fn parameter_value(&self) -> Option<&str>
The value of parameter, for example, hourly
.
source§impl ControlInputParameter
impl ControlInputParameter
sourcepub fn builder() -> ControlInputParameterBuilder
pub fn builder() -> ControlInputParameterBuilder
Creates a new builder-style object to manufacture ControlInputParameter
.
Trait Implementations§
source§impl Clone for ControlInputParameter
impl Clone for ControlInputParameter
source§fn clone(&self) -> ControlInputParameter
fn clone(&self) -> ControlInputParameter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ControlInputParameter
impl Debug for ControlInputParameter
source§impl PartialEq<ControlInputParameter> for ControlInputParameter
impl PartialEq<ControlInputParameter> for ControlInputParameter
source§fn eq(&self, other: &ControlInputParameter) -> bool
fn eq(&self, other: &ControlInputParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.