#[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 ==
.