pub struct UpdateDimensionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDimension
.
Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
Requires permission to access the UpdateDimension action.
Implementations§
source§impl UpdateDimensionFluentBuilder
impl UpdateDimensionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDimensionInputBuilder
pub fn as_input(&self) -> &UpdateDimensionInputBuilder
Access the UpdateDimension as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDimensionOutput, SdkError<UpdateDimensionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDimensionOutput, SdkError<UpdateDimensionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateDimensionOutput, UpdateDimensionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDimensionOutput, UpdateDimensionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 stringValues
.
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/#").
Trait Implementations§
source§impl Clone for UpdateDimensionFluentBuilder
impl Clone for UpdateDimensionFluentBuilder
source§fn clone(&self) -> UpdateDimensionFluentBuilder
fn clone(&self) -> UpdateDimensionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more