#[non_exhaustive]pub struct ServiceMetadataBuilder { /* private fields */ }
Expand description
A builder for ServiceMetadata
.
Implementations§
source§impl ServiceMetadataBuilder
impl ServiceMetadataBuilder
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of the Amazon Web Service.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of the Amazon Web Service.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of the Amazon Web Service.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the Amazon Web Service.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the Amazon Web Service.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the Amazon Web Service.
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
The category that the Amazon Web Service belongs to, such as compute, storage, or database.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
The category that the Amazon Web Service belongs to, such as compute, storage, or database.
sourcepub fn get_category(&self) -> &Option<String>
pub fn get_category(&self) -> &Option<String>
The category that the Amazon Web Service belongs to, such as compute, storage, or database.
sourcepub fn build(self) -> ServiceMetadata
pub fn build(self) -> ServiceMetadata
Consumes the builder and constructs a ServiceMetadata
.
Trait Implementations§
source§impl Clone for ServiceMetadataBuilder
impl Clone for ServiceMetadataBuilder
source§fn clone(&self) -> ServiceMetadataBuilder
fn clone(&self) -> ServiceMetadataBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServiceMetadataBuilder
impl Debug for ServiceMetadataBuilder
source§impl Default for ServiceMetadataBuilder
impl Default for ServiceMetadataBuilder
source§fn default() -> ServiceMetadataBuilder
fn default() -> ServiceMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServiceMetadataBuilder
impl PartialEq for ServiceMetadataBuilder
source§fn eq(&self, other: &ServiceMetadataBuilder) -> bool
fn eq(&self, other: &ServiceMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ServiceMetadataBuilder
impl Send for ServiceMetadataBuilder
impl Sync for ServiceMetadataBuilder
impl Unpin for ServiceMetadataBuilder
impl UnwindSafe for ServiceMetadataBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.