#[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 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 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 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<ServiceMetadataBuilder> for ServiceMetadataBuilder
impl PartialEq<ServiceMetadataBuilder> 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 ==.