Struct aws_runtime::env_config::property::PropertiesKeyBuilder
source · pub struct PropertiesKeyBuilder { /* private fields */ }
Expand description
Builder for PropertiesKey
s.
Implementations§
source§impl PropertiesKeyBuilder
impl PropertiesKeyBuilder
sourcepub fn section_key(self, section_key: impl Into<String>) -> Self
pub fn section_key(self, section_key: impl Into<String>) -> Self
Set the section key for this builder.
sourcepub fn section_name(self, section_name: impl Into<String>) -> Self
pub fn section_name(self, section_name: impl Into<String>) -> Self
Set the section name for this builder.
sourcepub fn property_name(self, property_name: impl Into<String>) -> Self
pub fn property_name(self, property_name: impl Into<String>) -> Self
Set the property name for this builder.
sourcepub fn sub_property_name(self, sub_property_name: impl Into<String>) -> Self
pub fn sub_property_name(self, sub_property_name: impl Into<String>) -> Self
Set the sub-property name for this builder.
sourcepub fn build(self) -> Result<PropertiesKey, String>
pub fn build(self) -> Result<PropertiesKey, String>
Build this builder. If all required fields are set,
Ok(PropertiesKey)
is returned. Otherwise, an error is returned.
Trait Implementations§
source§impl Debug for PropertiesKeyBuilder
impl Debug for PropertiesKeyBuilder
source§impl Default for PropertiesKeyBuilder
impl Default for PropertiesKeyBuilder
source§fn default() -> PropertiesKeyBuilder
fn default() -> PropertiesKeyBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PropertiesKeyBuilder
impl RefUnwindSafe for PropertiesKeyBuilder
impl Send for PropertiesKeyBuilder
impl Sync for PropertiesKeyBuilder
impl Unpin for PropertiesKeyBuilder
impl UnwindSafe for PropertiesKeyBuilder
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.