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 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 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 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 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 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 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<UpdateRouteOutputBuilder> for UpdateRouteOutputBuilder
impl PartialEq<UpdateRouteOutputBuilder> 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 ==.