#[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 domain_unit_id(self, input: impl Into<String>) -> Self
pub fn domain_unit_id(self, input: impl Into<String>) -> Self
The ID of the domain unit.
sourcepub fn set_domain_unit_id(self, input: Option<String>) -> Self
pub fn set_domain_unit_id(self, input: Option<String>) -> Self
The ID of the domain unit.
sourcepub fn get_domain_unit_id(&self) -> &Option<String>
pub fn get_domain_unit_id(&self) -> &Option<String>
The ID of the domain unit.
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
impl StructuralPartialEq for UpdateProjectOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateProjectOutputBuilder
impl RefUnwindSafe for UpdateProjectOutputBuilder
impl Send for UpdateProjectOutputBuilder
impl Sync for UpdateProjectOutputBuilder
impl Unpin for UpdateProjectOutputBuilder
impl UnwindSafe for UpdateProjectOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more