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