Struct aws_sdk_migrationhubrefactorspaces::operation::create_route::builders::CreateRouteOutputBuilder
source · #[non_exhaustive]pub struct CreateRouteOutputBuilder { /* private fields */ }Expand description
A builder for CreateRouteOutput.
Implementations§
source§impl CreateRouteOutputBuilder
impl CreateRouteOutputBuilder
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 owner_account_id(self, input: impl Into<String>) -> Self
pub fn owner_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the route owner.
sourcepub fn set_owner_account_id(self, input: Option<String>) -> Self
pub fn set_owner_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the route owner.
sourcepub fn get_owner_account_id(&self) -> &Option<String>
pub fn get_owner_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of the route owner.
sourcepub fn created_by_account_id(self, input: impl Into<String>) -> Self
pub fn created_by_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the route creator.
sourcepub fn set_created_by_account_id(self, input: Option<String>) -> Self
pub fn set_created_by_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the route creator.
sourcepub fn get_created_by_account_id(&self) -> &Option<String>
pub fn get_created_by_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of the route creator.
sourcepub fn route_type(self, input: RouteType) -> Self
pub fn route_type(self, input: RouteType) -> Self
The route type of the route.
sourcepub fn set_route_type(self, input: Option<RouteType>) -> Self
pub fn set_route_type(self, input: Option<RouteType>) -> Self
The route type of the route.
sourcepub fn get_route_type(&self) -> &Option<RouteType>
pub fn get_route_type(&self) -> &Option<RouteType>
The route type of the route.
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 is 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 is 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 is 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 created.
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 created.
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 created.
sourcepub fn uri_path_route(self, input: UriPathRouteInput) -> Self
pub fn uri_path_route(self, input: UriPathRouteInput) -> Self
Configuration for the URI path route type.
sourcepub fn set_uri_path_route(self, input: Option<UriPathRouteInput>) -> Self
pub fn set_uri_path_route(self, input: Option<UriPathRouteInput>) -> Self
Configuration for the URI path route type.
sourcepub fn get_uri_path_route(&self) -> &Option<UriPathRouteInput>
pub fn get_uri_path_route(&self) -> &Option<UriPathRouteInput>
Configuration for the URI path route type.
sourcepub fn state(self, input: RouteState) -> Self
pub fn state(self, input: RouteState) -> Self
The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
sourcepub fn set_state(self, input: Option<RouteState>) -> Self
pub fn set_state(self, input: Option<RouteState>) -> Self
The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
sourcepub fn get_state(&self) -> &Option<RouteState>
pub fn get_state(&self) -> &Option<RouteState>
The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
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 created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
A timestamp that indicates when the route is created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the route is created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
A timestamp that indicates when the route is created.
sourcepub fn build(self) -> CreateRouteOutput
pub fn build(self) -> CreateRouteOutput
Consumes the builder and constructs a CreateRouteOutput.
Trait Implementations§
source§impl Clone for CreateRouteOutputBuilder
impl Clone for CreateRouteOutputBuilder
source§fn clone(&self) -> CreateRouteOutputBuilder
fn clone(&self) -> CreateRouteOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateRouteOutputBuilder
impl Debug for CreateRouteOutputBuilder
source§impl Default for CreateRouteOutputBuilder
impl Default for CreateRouteOutputBuilder
source§fn default() -> CreateRouteOutputBuilder
fn default() -> CreateRouteOutputBuilder
source§impl PartialEq for CreateRouteOutputBuilder
impl PartialEq for CreateRouteOutputBuilder
source§fn eq(&self, other: &CreateRouteOutputBuilder) -> bool
fn eq(&self, other: &CreateRouteOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.