pub struct UpdateAliasFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAlias
.
Updates properties for an alias. To update properties, specify the alias ID to be updated and provide the information to be changed. To reassign an alias to another fleet, provide an updated routing strategy. If successful, the updated alias record is returned.
Related actions
Implementations§
source§impl UpdateAliasFluentBuilder
impl UpdateAliasFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAliasInputBuilder
pub fn as_input(&self) -> &UpdateAliasInputBuilder
Access the UpdateAlias as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAliasOutput, SdkError<UpdateAliasError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAliasOutput, SdkError<UpdateAliasError, 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<UpdateAliasOutput, UpdateAliasError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateAliasOutput, UpdateAliasError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn alias_id(self, input: impl Into<String>) -> Self
pub fn alias_id(self, input: impl Into<String>) -> Self
A unique identifier for the alias that you want to update. You can use either the alias ID or ARN value.
sourcepub fn set_alias_id(self, input: Option<String>) -> Self
pub fn set_alias_id(self, input: Option<String>) -> Self
A unique identifier for the alias that you want to update. You can use either the alias ID or ARN value.
sourcepub fn get_alias_id(&self) -> &Option<String>
pub fn get_alias_id(&self) -> &Option<String>
A unique identifier for the alias that you want to update. You can use either the alias ID or ARN value.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive label that is associated with an alias. Alias names do not need to be unique.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive label that is associated with an alias. Alias names do not need to be unique.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A descriptive label that is associated with an alias. Alias names do not need to be unique.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A human-readable description of the alias.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A human-readable description of the alias.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A human-readable description of the alias.
sourcepub fn routing_strategy(self, input: RoutingStrategy) -> Self
pub fn routing_strategy(self, input: RoutingStrategy) -> Self
The routing configuration, including routing type and fleet target, for the alias.
sourcepub fn set_routing_strategy(self, input: Option<RoutingStrategy>) -> Self
pub fn set_routing_strategy(self, input: Option<RoutingStrategy>) -> Self
The routing configuration, including routing type and fleet target, for the alias.
sourcepub fn get_routing_strategy(&self) -> &Option<RoutingStrategy>
pub fn get_routing_strategy(&self) -> &Option<RoutingStrategy>
The routing configuration, including routing type and fleet target, for the alias.
Trait Implementations§
source§impl Clone for UpdateAliasFluentBuilder
impl Clone for UpdateAliasFluentBuilder
source§fn clone(&self) -> UpdateAliasFluentBuilder
fn clone(&self) -> UpdateAliasFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more