#[non_exhaustive]pub struct CreateProjectOutputBuilder { /* private fields */ }
Expand description
A builder for CreateProjectOutput
.
Implementations§
source§impl CreateProjectOutputBuilder
impl CreateProjectOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain in which the project was created.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which the project was created.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which the project was created.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone project.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the project.
This field is required.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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the project.
sourcepub fn project_status(self, input: ProjectStatus) -> Self
pub fn project_status(self, input: ProjectStatus) -> Self
The status of the Amazon DataZone project that was created.
sourcepub fn set_project_status(self, input: Option<ProjectStatus>) -> Self
pub fn set_project_status(self, input: Option<ProjectStatus>) -> Self
The status of the Amazon DataZone project that was created.
sourcepub fn get_project_status(&self) -> &Option<ProjectStatus>
pub fn get_project_status(&self) -> &Option<ProjectStatus>
The status of the Amazon DataZone project that was created.
sourcepub fn failure_reasons(self, input: ProjectDeletionError) -> Self
pub fn failure_reasons(self, input: ProjectDeletionError) -> Self
Appends an item to failure_reasons
.
To override the contents of this collection use set_failure_reasons
.
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn set_failure_reasons(
self,
input: Option<Vec<ProjectDeletionError>>
) -> Self
pub fn set_failure_reasons( self, input: Option<Vec<ProjectDeletionError>> ) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<ProjectDeletionError>>
pub fn get_failure_reasons(&self) -> &Option<Vec<ProjectDeletionError>>
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the project.
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the project.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the project.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the project was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the project was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the project was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The timestamp of when the project was last updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the project was last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The timestamp of when the project was last updated.
sourcepub fn glossary_terms(self, input: impl Into<String>) -> Self
pub fn glossary_terms(self, input: impl Into<String>) -> Self
Appends an item to glossary_terms
.
To override the contents of this collection use set_glossary_terms
.
The glossary terms that can be used in the project.
sourcepub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
pub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
The glossary terms that can be used in the project.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The glossary terms that can be used in the project.
sourcepub fn build(self) -> Result<CreateProjectOutput, BuildError>
pub fn build(self) -> Result<CreateProjectOutput, BuildError>
Consumes the builder and constructs a CreateProjectOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateProjectOutputBuilder
impl Clone for CreateProjectOutputBuilder
source§fn clone(&self) -> CreateProjectOutputBuilder
fn clone(&self) -> CreateProjectOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateProjectOutputBuilder
impl Debug for CreateProjectOutputBuilder
source§impl Default for CreateProjectOutputBuilder
impl Default for CreateProjectOutputBuilder
source§fn default() -> CreateProjectOutputBuilder
fn default() -> CreateProjectOutputBuilder
source§impl PartialEq for CreateProjectOutputBuilder
impl PartialEq for CreateProjectOutputBuilder
source§fn eq(&self, other: &CreateProjectOutputBuilder) -> bool
fn eq(&self, other: &CreateProjectOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.