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 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 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 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 build(self) -> Result<UpdateRouteInput, BuildError>
pub fn build(self) -> Result<UpdateRouteInput, BuildError>
Consumes the builder and constructs a UpdateRouteInput.
Trait Implementations§
source§impl Clone for UpdateRouteInputBuilder
impl Clone for UpdateRouteInputBuilder
source§fn clone(&self) -> UpdateRouteInputBuilder
fn clone(&self) -> UpdateRouteInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateRouteInputBuilder> for UpdateRouteInputBuilder
impl PartialEq<UpdateRouteInputBuilder> for UpdateRouteInputBuilder
source§fn eq(&self, other: &UpdateRouteInputBuilder) -> bool
fn eq(&self, other: &UpdateRouteInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRouteInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRouteInputBuilder
impl Send for UpdateRouteInputBuilder
impl Sync for UpdateRouteInputBuilder
impl Unpin for UpdateRouteInputBuilder
impl UnwindSafe for UpdateRouteInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more