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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.