pub struct Builder { /* private fields */ }
Expand description
A builder for ComponentParameterDetail
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> ComponentParameterDetail
pub fn build(self) -> ComponentParameterDetail
Consumes the builder and constructs a ComponentParameterDetail
.