Struct aws_sdk_imagebuilder::model::component_parameter::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ComponentParameter
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the component parameter to set.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the component parameter to set.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Appends an item to value
.
To override the contents of this collection use set_value
.
Sets the value for the named component parameter.
sourcepub fn set_value(self, input: Option<Vec<String>>) -> Self
pub fn set_value(self, input: Option<Vec<String>>) -> Self
Sets the value for the named component parameter.
sourcepub fn build(self) -> ComponentParameter
pub fn build(self) -> ComponentParameter
Consumes the builder and constructs a ComponentParameter
.