#[non_exhaustive]pub struct UpdateProjectOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateProjectOutput
.
Implementations§
source§impl UpdateProjectOutputBuilder
impl UpdateProjectOutputBuilder
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 a project is updated.
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 a project is updated.
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 a project is updated.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the project that is to be updated.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the project that is to be updated.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the project that is to be updated.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the project that is to be updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the project that is to be updated.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the project that is to be updated.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the project that is to be updated.
sourcepub fn project_status(self, input: ProjectStatus) -> Self
pub fn project_status(self, input: ProjectStatus) -> Self
The status of the project.
sourcepub fn set_project_status(self, input: Option<ProjectStatus>) -> Self
pub fn set_project_status(self, input: Option<ProjectStatus>) -> Self
The status of the project.
sourcepub fn get_project_status(&self) -> &Option<ProjectStatus>
pub fn get_project_status(&self) -> &Option<ProjectStatus>
The status of the project.
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 of the project that are to be updated.
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 of the project that are to be updated.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The glossary terms of the project that are to be updated.
sourcepub fn build(self) -> Result<UpdateProjectOutput, BuildError>
pub fn build(self) -> Result<UpdateProjectOutput, BuildError>
Consumes the builder and constructs a UpdateProjectOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateProjectOutputBuilder
impl Clone for UpdateProjectOutputBuilder
source§fn clone(&self) -> UpdateProjectOutputBuilder
fn clone(&self) -> UpdateProjectOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateProjectOutputBuilder
impl Debug for UpdateProjectOutputBuilder
source§impl Default for UpdateProjectOutputBuilder
impl Default for UpdateProjectOutputBuilder
source§fn default() -> UpdateProjectOutputBuilder
fn default() -> UpdateProjectOutputBuilder
source§impl PartialEq for UpdateProjectOutputBuilder
impl PartialEq for UpdateProjectOutputBuilder
source§fn eq(&self, other: &UpdateProjectOutputBuilder) -> bool
fn eq(&self, other: &UpdateProjectOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.