#[non_exhaustive]pub struct ComponentParameterDetailBuilder { /* private fields */ }
Expand description
A builder for ComponentParameterDetail
.
Implementations§
source§impl ComponentParameterDetailBuilder
impl ComponentParameterDetailBuilder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of input this parameter provides. The currently supported value is "string".
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of input this parameter provides. The currently supported value is "string".
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of input this parameter provides. The currently supported value is "string".
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
Appends an item to default_value
.
To override the contents of this collection use set_default_value
.
The default value of this parameter if no input is provided.
sourcepub fn set_default_value(self, input: Option<Vec<String>>) -> Self
pub fn set_default_value(self, input: Option<Vec<String>>) -> Self
The default value of this parameter if no input is provided.
sourcepub fn get_default_value(&self) -> &Option<Vec<String>>
pub fn get_default_value(&self) -> &Option<Vec<String>>
The default value of this parameter if no input is provided.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Describes this parameter.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Describes this parameter.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Describes this parameter.
sourcepub fn build(self) -> ComponentParameterDetail
pub fn build(self) -> ComponentParameterDetail
Consumes the builder and constructs a ComponentParameterDetail
.
Trait Implementations§
source§impl Clone for ComponentParameterDetailBuilder
impl Clone for ComponentParameterDetailBuilder
source§fn clone(&self) -> ComponentParameterDetailBuilder
fn clone(&self) -> ComponentParameterDetailBuilder
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 ComponentParameterDetailBuilder
impl Default for ComponentParameterDetailBuilder
source§fn default() -> ComponentParameterDetailBuilder
fn default() -> ComponentParameterDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ComponentParameterDetailBuilder
impl PartialEq for ComponentParameterDetailBuilder
source§fn eq(&self, other: &ComponentParameterDetailBuilder) -> bool
fn eq(&self, other: &ComponentParameterDetailBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComponentParameterDetailBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ComponentParameterDetailBuilder
impl Send for ComponentParameterDetailBuilder
impl Sync for ComponentParameterDetailBuilder
impl Unpin for ComponentParameterDetailBuilder
impl UnwindSafe for ComponentParameterDetailBuilder
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