Struct aws_sdk_migrationhubrefactorspaces::operation::update_route::builders::UpdateRouteFluentBuilder
source · pub struct UpdateRouteFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateRoute.
Updates an Amazon Web Services Migration Hub Refactor Spaces route.
Implementations§
source§impl UpdateRouteFluentBuilder
impl UpdateRouteFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRouteInputBuilder
pub fn as_input(&self) -> &UpdateRouteInputBuilder
Access the UpdateRoute as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRouteOutput, SdkError<UpdateRouteError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRouteOutput, SdkError<UpdateRouteError, 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<UpdateRouteOutput, UpdateRouteError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRouteOutput, UpdateRouteError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The ID of the environment in which the route is being updated.
sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The ID of the environment in which the route is being updated.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The ID of the environment in which the route is being updated.
sourcepub fn application_identifier(self, input: impl Into<String>) -> Self
pub fn application_identifier(self, input: impl Into<String>) -> Self
The ID of the application within which the route is being updated.
sourcepub fn set_application_identifier(self, input: Option<String>) -> Self
pub fn set_application_identifier(self, input: Option<String>) -> Self
The ID of the application within which the route is being updated.
sourcepub fn get_application_identifier(&self) -> &Option<String>
pub fn get_application_identifier(&self) -> &Option<String>
The ID of the application within which the route is being updated.
sourcepub fn route_identifier(self, input: impl Into<String>) -> Self
pub fn route_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the route to update.
sourcepub fn set_route_identifier(self, input: Option<String>) -> Self
pub fn set_route_identifier(self, input: Option<String>) -> Self
The unique identifier of the route to update.
sourcepub fn get_route_identifier(&self) -> &Option<String>
pub fn get_route_identifier(&self) -> &Option<String>
The unique identifier of the route to update.
sourcepub fn activation_state(self, input: RouteActivationState) -> Self
pub fn activation_state(self, input: RouteActivationState) -> Self
If set to ACTIVE, traffic is forwarded to this route’s service after the route is updated.
sourcepub fn set_activation_state(self, input: Option<RouteActivationState>) -> Self
pub fn set_activation_state(self, input: Option<RouteActivationState>) -> Self
If set to ACTIVE, traffic is forwarded to this route’s service after the route is updated.
sourcepub fn get_activation_state(&self) -> &Option<RouteActivationState>
pub fn get_activation_state(&self) -> &Option<RouteActivationState>
If set to ACTIVE, traffic is forwarded to this route’s service after the route is updated.
Trait Implementations§
source§impl Clone for UpdateRouteFluentBuilder
impl Clone for UpdateRouteFluentBuilder
source§fn clone(&self) -> UpdateRouteFluentBuilder
fn clone(&self) -> UpdateRouteFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more