Struct aws_sdk_datazone::operation::create_glossary_term::builders::CreateGlossaryTermOutputBuilder
source · #[non_exhaustive]pub struct CreateGlossaryTermOutputBuilder { /* private fields */ }
Expand description
A builder for CreateGlossaryTermOutput
.
Implementations§
source§impl CreateGlossaryTermOutputBuilder
impl CreateGlossaryTermOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of this business glossary term.
This field is required.sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which this business glossary term 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 Amazon DataZone domain in which this business glossary term is created.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which this business glossary term is created.
sourcepub fn glossary_id(self, input: impl Into<String>) -> Self
pub fn glossary_id(self, input: impl Into<String>) -> Self
The ID of the business glossary in which this term is created.
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 ID of the business glossary in which this term is created.
sourcepub fn get_glossary_id(&self) -> &Option<String>
pub fn get_glossary_id(&self) -> &Option<String>
The ID of the business glossary in which this term is created.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of this business glossary term.
This field is required.sourcepub fn status(self, input: GlossaryTermStatus) -> Self
pub fn status(self, input: GlossaryTermStatus) -> Self
The status of this 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 this business glossary term.
sourcepub fn get_status(&self) -> &Option<GlossaryTermStatus>
pub fn get_status(&self) -> &Option<GlossaryTermStatus>
The status of this business glossary term.
sourcepub fn short_description(self, input: impl Into<String>) -> Self
pub fn short_description(self, input: impl Into<String>) -> Self
The short description of this 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 this business glossary term.
sourcepub fn get_short_description(&self) -> &Option<String>
pub fn get_short_description(&self) -> &Option<String>
The short description of this 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 this 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 this business glossary term.
sourcepub fn get_long_description(&self) -> &Option<String>
pub fn get_long_description(&self) -> &Option<String>
The long description of this business glossary term.
sourcepub fn term_relations(self, input: TermRelations) -> Self
pub fn term_relations(self, input: TermRelations) -> Self
The term relations of this business glossary term.
sourcepub fn set_term_relations(self, input: Option<TermRelations>) -> Self
pub fn set_term_relations(self, input: Option<TermRelations>) -> Self
The term relations of this business glossary term.
sourcepub fn get_term_relations(&self) -> &Option<TermRelations>
pub fn get_term_relations(&self) -> &Option<TermRelations>
The term relations of this business glossary term.
sourcepub fn build(self) -> Result<CreateGlossaryTermOutput, BuildError>
pub fn build(self) -> Result<CreateGlossaryTermOutput, BuildError>
Consumes the builder and constructs a CreateGlossaryTermOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateGlossaryTermOutputBuilder
impl Clone for CreateGlossaryTermOutputBuilder
source§fn clone(&self) -> CreateGlossaryTermOutputBuilder
fn clone(&self) -> CreateGlossaryTermOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateGlossaryTermOutputBuilder
impl Default for CreateGlossaryTermOutputBuilder
source§fn default() -> CreateGlossaryTermOutputBuilder
fn default() -> CreateGlossaryTermOutputBuilder
source§impl PartialEq for CreateGlossaryTermOutputBuilder
impl PartialEq for CreateGlossaryTermOutputBuilder
source§fn eq(&self, other: &CreateGlossaryTermOutputBuilder) -> bool
fn eq(&self, other: &CreateGlossaryTermOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.