pub struct Builder { /* private fields */ }
Expand description
A builder for Parameter
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn parameter_name(self, input: impl Into<String>) -> Self
pub fn parameter_name(self, input: impl Into<String>) -> Self
The name of the parameter.
sourcepub fn set_parameter_name(self, input: Option<String>) -> Self
pub fn set_parameter_name(self, input: Option<String>) -> Self
The name of the parameter.
sourcepub fn parameter_type(self, input: ParameterType) -> Self
pub fn parameter_type(self, input: ParameterType) -> Self
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
sourcepub fn set_parameter_type(self, input: Option<ParameterType>) -> Self
pub fn set_parameter_type(self, input: Option<ParameterType>) -> Self
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
sourcepub fn parameter_value(self, input: impl Into<String>) -> Self
pub fn parameter_value(self, input: impl Into<String>) -> Self
The value for the parameter.
sourcepub fn set_parameter_value(self, input: Option<String>) -> Self
pub fn set_parameter_value(self, input: Option<String>) -> Self
The value for the parameter.
sourcepub fn node_type_specific_values(self, input: NodeTypeSpecificValue) -> Self
pub fn node_type_specific_values(self, input: NodeTypeSpecificValue) -> Self
Appends an item to node_type_specific_values
.
To override the contents of this collection use set_node_type_specific_values
.
A list of node types, and specific parameter values for each node.
sourcepub fn set_node_type_specific_values(
self,
input: Option<Vec<NodeTypeSpecificValue>>
) -> Self
pub fn set_node_type_specific_values(
self,
input: Option<Vec<NodeTypeSpecificValue>>
) -> Self
A list of node types, and specific parameter values for each node.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the parameter
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the parameter
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
How the parameter is defined. For example, system
denotes a system-defined parameter.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
How the parameter is defined. For example, system
denotes a system-defined parameter.
sourcepub fn data_type(self, input: impl Into<String>) -> Self
pub fn data_type(self, input: impl Into<String>) -> Self
The data type of the parameter. For example, integer
:
sourcepub fn set_data_type(self, input: Option<String>) -> Self
pub fn set_data_type(self, input: Option<String>) -> Self
The data type of the parameter. For example, integer
:
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
A range of values within which the parameter can be set.
sourcepub fn set_allowed_values(self, input: Option<String>) -> Self
pub fn set_allowed_values(self, input: Option<String>) -> Self
A range of values within which the parameter can be set.
sourcepub fn is_modifiable(self, input: IsModifiable) -> Self
pub fn is_modifiable(self, input: IsModifiable) -> Self
Whether the customer is allowed to modify the parameter.
sourcepub fn set_is_modifiable(self, input: Option<IsModifiable>) -> Self
pub fn set_is_modifiable(self, input: Option<IsModifiable>) -> Self
Whether the customer is allowed to modify the parameter.
sourcepub fn change_type(self, input: ChangeType) -> Self
pub fn change_type(self, input: ChangeType) -> Self
The conditions under which changes to this parameter can be applied. For example, requires-reboot
indicates that a new value for this parameter will only take effect if a node is rebooted.
sourcepub fn set_change_type(self, input: Option<ChangeType>) -> Self
pub fn set_change_type(self, input: Option<ChangeType>) -> Self
The conditions under which changes to this parameter can be applied. For example, requires-reboot
indicates that a new value for this parameter will only take effect if a node is rebooted.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more