#[non_exhaustive]pub struct SecurityControlCustomParameterBuilder { /* private fields */ }
Expand description
A builder for SecurityControlCustomParameter
.
Implementations§
source§impl SecurityControlCustomParameterBuilder
impl SecurityControlCustomParameterBuilder
sourcepub fn security_control_id(self, input: impl Into<String>) -> Self
pub fn security_control_id(self, input: impl Into<String>) -> Self
The ID of the security control.
sourcepub fn set_security_control_id(self, input: Option<String>) -> Self
pub fn set_security_control_id(self, input: Option<String>) -> Self
The ID of the security control.
sourcepub fn get_security_control_id(&self) -> &Option<String>
pub fn get_security_control_id(&self) -> &Option<String>
The ID of the security control.
sourcepub fn parameters(self, k: impl Into<String>, v: ParameterConfiguration) -> Self
pub fn parameters(self, k: impl Into<String>, v: ParameterConfiguration) -> Self
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
An object that specifies parameter values for a control in a configuration policy.
sourcepub fn set_parameters(
self,
input: Option<HashMap<String, ParameterConfiguration>>
) -> Self
pub fn set_parameters( self, input: Option<HashMap<String, ParameterConfiguration>> ) -> Self
An object that specifies parameter values for a control in a configuration policy.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, ParameterConfiguration>>
pub fn get_parameters(&self) -> &Option<HashMap<String, ParameterConfiguration>>
An object that specifies parameter values for a control in a configuration policy.
sourcepub fn build(self) -> SecurityControlCustomParameter
pub fn build(self) -> SecurityControlCustomParameter
Consumes the builder and constructs a SecurityControlCustomParameter
.
Trait Implementations§
source§impl Clone for SecurityControlCustomParameterBuilder
impl Clone for SecurityControlCustomParameterBuilder
source§fn clone(&self) -> SecurityControlCustomParameterBuilder
fn clone(&self) -> SecurityControlCustomParameterBuilder
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 Default for SecurityControlCustomParameterBuilder
impl Default for SecurityControlCustomParameterBuilder
source§fn default() -> SecurityControlCustomParameterBuilder
fn default() -> SecurityControlCustomParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SecurityControlCustomParameterBuilder
impl PartialEq for SecurityControlCustomParameterBuilder
source§fn eq(&self, other: &SecurityControlCustomParameterBuilder) -> bool
fn eq(&self, other: &SecurityControlCustomParameterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityControlCustomParameterBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SecurityControlCustomParameterBuilder
impl Send for SecurityControlCustomParameterBuilder
impl Sync for SecurityControlCustomParameterBuilder
impl Unpin for SecurityControlCustomParameterBuilder
impl UnwindSafe for SecurityControlCustomParameterBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.