pub struct Builder { /* private fields */ }Expand description
A builder for ProjectDescription.
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 for which to obtain information from.
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 for which to obtain information from.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the project.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the project.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date when the project was originally created, in UNIX epoch time format.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date when the project was originally created, in UNIX epoch time format.
sourcepub fn updated_date(self, input: DateTime) -> Self
pub fn updated_date(self, input: DateTime) -> Self
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate and updatedDate are the same.
sourcepub fn set_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_updated_date(self, input: Option<DateTime>) -> Self
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate and updatedDate are the same.
sourcepub fn placement_template(self, input: PlacementTemplate) -> Self
pub fn placement_template(self, input: PlacementTemplate) -> Self
An object describing the project's placement specifications.
sourcepub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
pub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
An object describing the project's placement specifications.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags (metadata key/value pairs) associated with the project.
The tags (metadata key/value pairs) associated with the project.
sourcepub fn build(self) -> ProjectDescription
pub fn build(self) -> ProjectDescription
Consumes the builder and constructs a ProjectDescription.