Struct aws_sdk_datazone::operation::update_glossary_term::builders::UpdateGlossaryTermOutputBuilder
source · #[non_exhaustive]pub struct UpdateGlossaryTermOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateGlossaryTermOutput
.
Implementations§
source§impl UpdateGlossaryTermOutputBuilder
impl UpdateGlossaryTermOutputBuilder
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 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 business glossary term that is to be updated.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the business glossary term that is to be updated.
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 business glossary term is to be 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 business glossary term is to be 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 business glossary term is to be updated.
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 in which a term is to be updated.
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 in which a term is to be updated.
sourcepub fn get_glossary_id(&self) -> &Option<String>
pub fn get_glossary_id(&self) -> &Option<String>
The identifier of the business glossary in which a term is to be updated.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn status(self, input: GlossaryTermStatus) -> Self
pub fn status(self, input: GlossaryTermStatus) -> Self
The status to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn set_status(self, input: Option<GlossaryTermStatus>) -> Self
pub fn set_status(self, input: Option<GlossaryTermStatus>) -> Self
The status to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn get_status(&self) -> &Option<GlossaryTermStatus>
pub fn get_status(&self) -> &Option<GlossaryTermStatus>
The status to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn short_description(self, input: impl Into<String>) -> Self
pub fn short_description(self, input: impl Into<String>) -> Self
The short description to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn set_short_description(self, input: Option<String>) -> Self
pub fn set_short_description(self, input: Option<String>) -> Self
The short description to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn get_short_description(&self) -> &Option<String>
pub fn get_short_description(&self) -> &Option<String>
The short description to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn long_description(self, input: impl Into<String>) -> Self
pub fn long_description(self, input: impl Into<String>) -> Self
The long description to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn set_long_description(self, input: Option<String>) -> Self
pub fn set_long_description(self, input: Option<String>) -> Self
The long description to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn get_long_description(&self) -> &Option<String>
pub fn get_long_description(&self) -> &Option<String>
The long description to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn term_relations(self, input: TermRelations) -> Self
pub fn term_relations(self, input: TermRelations) -> Self
The term relations to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn set_term_relations(self, input: Option<TermRelations>) -> Self
pub fn set_term_relations(self, input: Option<TermRelations>) -> Self
The term relations to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn get_term_relations(&self) -> &Option<TermRelations>
pub fn get_term_relations(&self) -> &Option<TermRelations>
The term relations to be updated as part of the UpdateGlossaryTerm
action.
sourcepub fn build(self) -> Result<UpdateGlossaryTermOutput, BuildError>
pub fn build(self) -> Result<UpdateGlossaryTermOutput, BuildError>
Consumes the builder and constructs a UpdateGlossaryTermOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateGlossaryTermOutputBuilder
impl Clone for UpdateGlossaryTermOutputBuilder
source§fn clone(&self) -> UpdateGlossaryTermOutputBuilder
fn clone(&self) -> UpdateGlossaryTermOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateGlossaryTermOutputBuilder
impl Default for UpdateGlossaryTermOutputBuilder
source§fn default() -> UpdateGlossaryTermOutputBuilder
fn default() -> UpdateGlossaryTermOutputBuilder
source§impl PartialEq for UpdateGlossaryTermOutputBuilder
impl PartialEq for UpdateGlossaryTermOutputBuilder
source§fn eq(&self, other: &UpdateGlossaryTermOutputBuilder) -> bool
fn eq(&self, other: &UpdateGlossaryTermOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.