Struct aws_sdk_datazone::types::builders::GlossaryTermItemBuilder
source · #[non_exhaustive]pub struct GlossaryTermItemBuilder { /* private fields */ }
Expand description
A builder for GlossaryTermItem
.
Implementations§
source§impl GlossaryTermItemBuilder
impl GlossaryTermItemBuilder
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 business glossary exists.
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 business glossary exists.
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 business glossary exists.
sourcepub fn glossary_id(self, input: impl Into<String>) -> Self
pub fn glossary_id(self, input: impl Into<String>) -> Self
The identifier of the business glossary to which the term belongs.
This field is required.sourcepub fn set_glossary_id(self, input: Option<String>) -> Self
pub fn set_glossary_id(self, input: Option<String>) -> Self
The identifier of the business glossary to which the term belongs.
sourcepub fn get_glossary_id(&self) -> &Option<String>
pub fn get_glossary_id(&self) -> &Option<String>
The identifier of the business glossary to which the term belongs.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the business glossary term.
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 business glossary term.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the business glossary term.
This field is required.sourcepub fn short_description(self, input: impl Into<String>) -> Self
pub fn short_description(self, input: impl Into<String>) -> Self
The short description of the business glossary term.
sourcepub fn set_short_description(self, input: Option<String>) -> Self
pub fn set_short_description(self, input: Option<String>) -> Self
The short description of the business glossary term.
sourcepub fn get_short_description(&self) -> &Option<String>
pub fn get_short_description(&self) -> &Option<String>
The short description of the business glossary term.
sourcepub fn long_description(self, input: impl Into<String>) -> Self
pub fn long_description(self, input: impl Into<String>) -> Self
The long description of the business glossary term.
sourcepub fn set_long_description(self, input: Option<String>) -> Self
pub fn set_long_description(self, input: Option<String>) -> Self
The long description of the business glossary term.
sourcepub fn get_long_description(&self) -> &Option<String>
pub fn get_long_description(&self) -> &Option<String>
The long description of the business glossary term.
sourcepub fn term_relations(self, input: TermRelations) -> Self
pub fn term_relations(self, input: TermRelations) -> Self
The relations of the business glossary term.
sourcepub fn set_term_relations(self, input: Option<TermRelations>) -> Self
pub fn set_term_relations(self, input: Option<TermRelations>) -> Self
The relations of the business glossary term.
sourcepub fn get_term_relations(&self) -> &Option<TermRelations>
pub fn get_term_relations(&self) -> &Option<TermRelations>
The relations of the business glossary term.
sourcepub fn status(self, input: GlossaryTermStatus) -> Self
pub fn status(self, input: GlossaryTermStatus) -> Self
The status of the business glossary term.
This field is required.sourcepub fn set_status(self, input: Option<GlossaryTermStatus>) -> Self
pub fn set_status(self, input: Option<GlossaryTermStatus>) -> Self
The status of the business glossary term.
sourcepub fn get_status(&self) -> &Option<GlossaryTermStatus>
pub fn get_status(&self) -> &Option<GlossaryTermStatus>
The status of the business glossary term.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when a business glossary term 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 a business glossary term was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when a business glossary term was created.
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 business glossary.
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 business glossary.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the business glossary.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when a business glossary term was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when a business glossary term was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when a business glossary term was updated.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who updated the business glossary term.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The Amazon DataZone user who updated the business glossary term.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The Amazon DataZone user who updated the business glossary term.
sourcepub fn build(self) -> Result<GlossaryTermItem, BuildError>
pub fn build(self) -> Result<GlossaryTermItem, BuildError>
Consumes the builder and constructs a GlossaryTermItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GlossaryTermItemBuilder
impl Clone for GlossaryTermItemBuilder
source§fn clone(&self) -> GlossaryTermItemBuilder
fn clone(&self) -> GlossaryTermItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GlossaryTermItemBuilder
impl Debug for GlossaryTermItemBuilder
source§impl Default for GlossaryTermItemBuilder
impl Default for GlossaryTermItemBuilder
source§fn default() -> GlossaryTermItemBuilder
fn default() -> GlossaryTermItemBuilder
source§impl PartialEq for GlossaryTermItemBuilder
impl PartialEq for GlossaryTermItemBuilder
source§fn eq(&self, other: &GlossaryTermItemBuilder) -> bool
fn eq(&self, other: &GlossaryTermItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.