Struct aws_sdk_datazone::operation::create_data_product_revision::builders::CreateDataProductRevisionOutputBuilder
source · #[non_exhaustive]pub struct CreateDataProductRevisionOutputBuilder { /* private fields */ }Expand description
A builder for CreateDataProductRevisionOutput.
Implementations§
source§impl CreateDataProductRevisionOutputBuilder
impl CreateDataProductRevisionOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the domain where data product revision is 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 ID of the domain where data product revision is created.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the domain where data product revision is created.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the data product revision.
This field is required.sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision of the data product revision.
This field is required.sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision of the data product revision.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision of the data product revision.
sourcepub fn owning_project_id(self, input: impl Into<String>) -> Self
pub fn owning_project_id(self, input: impl Into<String>) -> Self
The ID of the owning project of the data product revision.
This field is required.sourcepub fn set_owning_project_id(self, input: Option<String>) -> Self
pub fn set_owning_project_id(self, input: Option<String>) -> Self
The ID of the owning project of the data product revision.
sourcepub fn get_owning_project_id(&self) -> &Option<String>
pub fn get_owning_project_id(&self) -> &Option<String>
The ID of the owning project of the data product revision.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data product revision.
This field is required.sourcepub fn status(self, input: DataProductStatus) -> Self
pub fn status(self, input: DataProductStatus) -> Self
The status of the data product revision.
This field is required.sourcepub fn set_status(self, input: Option<DataProductStatus>) -> Self
pub fn set_status(self, input: Option<DataProductStatus>) -> Self
The status of the data product revision.
sourcepub fn get_status(&self) -> &Option<DataProductStatus>
pub fn get_status(&self) -> &Option<DataProductStatus>
The status of the data product revision.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the data product revision.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the data product revision.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the data product revision.
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 data product revision.
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 data product revision.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The glossary terms of the data product revision.
sourcepub fn items(self, input: DataProductItem) -> Self
pub fn items(self, input: DataProductItem) -> Self
Appends an item to items.
To override the contents of this collection use set_items.
The data assets of the data product revision.
sourcepub fn set_items(self, input: Option<Vec<DataProductItem>>) -> Self
pub fn set_items(self, input: Option<Vec<DataProductItem>>) -> Self
The data assets of the data product revision.
sourcepub fn get_items(&self) -> &Option<Vec<DataProductItem>>
pub fn get_items(&self) -> &Option<Vec<DataProductItem>>
The data assets of the data product revision.
sourcepub fn forms_output(self, input: FormOutput) -> Self
pub fn forms_output(self, input: FormOutput) -> Self
Appends an item to forms_output.
To override the contents of this collection use set_forms_output.
The metadata forms of the data product revision.
sourcepub fn set_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The metadata forms of the data product revision.
sourcepub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
The metadata forms of the data product revision.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp at which the data product revision is created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp at which the data product revision is created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp at which the data product revision is created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user who created the data product revision.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user who created the data product revision.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user who created the data product revision.
sourcepub fn first_revision_created_at(self, input: DateTime) -> Self
pub fn first_revision_created_at(self, input: DateTime) -> Self
The timestamp at which the first revision of the data product is created.
sourcepub fn set_first_revision_created_at(self, input: Option<DateTime>) -> Self
pub fn set_first_revision_created_at(self, input: Option<DateTime>) -> Self
The timestamp at which the first revision of the data product is created.
sourcepub fn get_first_revision_created_at(&self) -> &Option<DateTime>
pub fn get_first_revision_created_at(&self) -> &Option<DateTime>
The timestamp at which the first revision of the data product is created.
sourcepub fn first_revision_created_by(self, input: impl Into<String>) -> Self
pub fn first_revision_created_by(self, input: impl Into<String>) -> Self
The user who created the first revision of the data product.
sourcepub fn set_first_revision_created_by(self, input: Option<String>) -> Self
pub fn set_first_revision_created_by(self, input: Option<String>) -> Self
The user who created the first revision of the data product.
sourcepub fn get_first_revision_created_by(&self) -> &Option<String>
pub fn get_first_revision_created_by(&self) -> &Option<String>
The user who created the first revision of the data product.
sourcepub fn build(self) -> Result<CreateDataProductRevisionOutput, BuildError>
pub fn build(self) -> Result<CreateDataProductRevisionOutput, BuildError>
Consumes the builder and constructs a CreateDataProductRevisionOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateDataProductRevisionOutputBuilder
impl Clone for CreateDataProductRevisionOutputBuilder
source§fn clone(&self) -> CreateDataProductRevisionOutputBuilder
fn clone(&self) -> CreateDataProductRevisionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDataProductRevisionOutputBuilder
impl Default for CreateDataProductRevisionOutputBuilder
source§fn default() -> CreateDataProductRevisionOutputBuilder
fn default() -> CreateDataProductRevisionOutputBuilder
source§impl PartialEq for CreateDataProductRevisionOutputBuilder
impl PartialEq for CreateDataProductRevisionOutputBuilder
source§fn eq(&self, other: &CreateDataProductRevisionOutputBuilder) -> bool
fn eq(&self, other: &CreateDataProductRevisionOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDataProductRevisionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateDataProductRevisionOutputBuilder
impl RefUnwindSafe for CreateDataProductRevisionOutputBuilder
impl Send for CreateDataProductRevisionOutputBuilder
impl Sync for CreateDataProductRevisionOutputBuilder
impl Unpin for CreateDataProductRevisionOutputBuilder
impl UnwindSafe for CreateDataProductRevisionOutputBuilder
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