#[non_exhaustive]pub struct UpdateDimensionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDimensionInput
.
Implementations§
source§impl UpdateDimensionInputBuilder
impl UpdateDimensionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
sourcepub fn string_values(self, input: impl Into<String>) -> Self
pub fn string_values(self, input: impl Into<String>) -> Self
Appends an item to string_values
.
To override the contents of this collection use set_string_values
.
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
sourcepub fn set_string_values(self, input: Option<Vec<String>>) -> Self
pub fn set_string_values(self, input: Option<Vec<String>>) -> Self
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
sourcepub fn get_string_values(&self) -> &Option<Vec<String>>
pub fn get_string_values(&self) -> &Option<Vec<String>>
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
sourcepub fn build(self) -> Result<UpdateDimensionInput, BuildError>
pub fn build(self) -> Result<UpdateDimensionInput, BuildError>
Consumes the builder and constructs a UpdateDimensionInput
.
source§impl UpdateDimensionInputBuilder
impl UpdateDimensionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDimensionOutput, SdkError<UpdateDimensionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDimensionOutput, SdkError<UpdateDimensionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDimensionInputBuilder
impl Clone for UpdateDimensionInputBuilder
source§fn clone(&self) -> UpdateDimensionInputBuilder
fn clone(&self) -> UpdateDimensionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDimensionInputBuilder
impl Debug for UpdateDimensionInputBuilder
source§impl Default for UpdateDimensionInputBuilder
impl Default for UpdateDimensionInputBuilder
source§fn default() -> UpdateDimensionInputBuilder
fn default() -> UpdateDimensionInputBuilder
source§impl PartialEq for UpdateDimensionInputBuilder
impl PartialEq for UpdateDimensionInputBuilder
source§fn eq(&self, other: &UpdateDimensionInputBuilder) -> bool
fn eq(&self, other: &UpdateDimensionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDimensionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDimensionInputBuilder
impl RefUnwindSafe for UpdateDimensionInputBuilder
impl Send for UpdateDimensionInputBuilder
impl Sync for UpdateDimensionInputBuilder
impl Unpin for UpdateDimensionInputBuilder
impl UnwindSafe for UpdateDimensionInputBuilder
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
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>
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>
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 more