#[non_exhaustive]pub struct UpdateAliasInputBuilder { /* private fields */ }Expand description
A builder for UpdateAliasInput.
Implementations§
source§impl UpdateAliasInputBuilder
impl UpdateAliasInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateAliasInput, BuildError>
pub fn build(self) -> Result<UpdateAliasInput, BuildError>
Consumes the builder and constructs a UpdateAliasInput.
source§impl UpdateAliasInputBuilder
impl UpdateAliasInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAliasOutput, SdkError<UpdateAliasError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAliasOutput, SdkError<UpdateAliasError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAliasInputBuilder
impl Clone for UpdateAliasInputBuilder
source§fn clone(&self) -> UpdateAliasInputBuilder
fn clone(&self) -> UpdateAliasInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAliasInputBuilder
impl Debug for UpdateAliasInputBuilder
source§impl Default for UpdateAliasInputBuilder
impl Default for UpdateAliasInputBuilder
source§fn default() -> UpdateAliasInputBuilder
fn default() -> UpdateAliasInputBuilder
source§impl PartialEq for UpdateAliasInputBuilder
impl PartialEq for UpdateAliasInputBuilder
source§fn eq(&self, other: &UpdateAliasInputBuilder) -> bool
fn eq(&self, other: &UpdateAliasInputBuilder) -> bool
self and other values to be equal, and is used
by ==.