Struct aws_sdk_migrationhubrefactorspaces::operation::update_route::builders::UpdateRouteOutputBuilder
source · #[non_exhaustive]pub struct UpdateRouteOutputBuilder { /* private fields */ }Expand description
A builder for UpdateRouteOutput.
Implementations§
source§impl UpdateRouteOutputBuilder
impl UpdateRouteOutputBuilder
sourcepub fn set_route_id(self, input: Option<String>) -> Self
pub fn set_route_id(self, input: Option<String>) -> Self
The unique identifier of the route.
sourcepub fn get_route_id(&self) -> &Option<String>
pub fn get_route_id(&self) -> &Option<String>
The unique identifier of the route.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
sourcepub fn get_service_id(&self) -> &Option<String>
pub fn get_service_id(&self) -> &Option<String>
The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application in which the route is being updated.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application in which the route is being updated.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application in which the route is being updated.
sourcepub fn state(self, input: RouteState) -> Self
pub fn state(self, input: RouteState) -> Self
The current state of the route.
sourcepub fn set_state(self, input: Option<RouteState>) -> Self
pub fn set_state(self, input: Option<RouteState>) -> Self
The current state of the route.
sourcepub fn get_state(&self) -> &Option<RouteState>
pub fn get_state(&self) -> &Option<RouteState>
The current state of the route.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
A timestamp that indicates when the route was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the route was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
A timestamp that indicates when the route was last updated.
sourcepub fn build(self) -> UpdateRouteOutput
pub fn build(self) -> UpdateRouteOutput
Consumes the builder and constructs a UpdateRouteOutput.
Trait Implementations§
source§impl Clone for UpdateRouteOutputBuilder
impl Clone for UpdateRouteOutputBuilder
source§fn clone(&self) -> UpdateRouteOutputBuilder
fn clone(&self) -> UpdateRouteOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateRouteOutputBuilder
impl Debug for UpdateRouteOutputBuilder
source§impl Default for UpdateRouteOutputBuilder
impl Default for UpdateRouteOutputBuilder
source§fn default() -> UpdateRouteOutputBuilder
fn default() -> UpdateRouteOutputBuilder
source§impl PartialEq for UpdateRouteOutputBuilder
impl PartialEq for UpdateRouteOutputBuilder
source§fn eq(&self, other: &UpdateRouteOutputBuilder) -> bool
fn eq(&self, other: &UpdateRouteOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRouteOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRouteOutputBuilder
impl RefUnwindSafe for UpdateRouteOutputBuilder
impl Send for UpdateRouteOutputBuilder
impl Sync for UpdateRouteOutputBuilder
impl Unpin for UpdateRouteOutputBuilder
impl UnwindSafe for UpdateRouteOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more