pub struct Builder { /* private fields */ }Expand description
A builder for CreateProjectInput.
Implementations§
source§impl Builder
 
impl Builder
sourcepub fn project_name(self, input: impl Into<String>) -> Self
 
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project to create.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
 
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project to create.
sourcepub fn description(self, input: impl Into<String>) -> Self
 
pub fn description(self, input: impl Into<String>) -> Self
An optional description for the project.
sourcepub fn set_description(self, input: Option<String>) -> Self
 
pub fn set_description(self, input: Option<String>) -> Self
An optional description for the project.
sourcepub fn placement_template(self, input: PlacementTemplate) -> Self
 
pub fn placement_template(self, input: PlacementTemplate) -> Self
The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update callbackOverrides for the device templates using the UpdateProject API.
sourcepub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
 
pub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update callbackOverrides for the device templates using the UpdateProject API.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Optional tags (metadata key/value pairs) to be associated with the project. For example, { {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.
Optional tags (metadata key/value pairs) to be associated with the project. For example, { {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.
sourcepub fn build(self) -> Result<CreateProjectInput, BuildError>
 
pub fn build(self) -> Result<CreateProjectInput, BuildError>
Consumes the builder and constructs a CreateProjectInput.