Struct aws_sdk_migrationhubrefactorspaces::operation::get_route::builders::GetRouteOutputBuilder
source · #[non_exhaustive]pub struct GetRouteOutputBuilder { /* private fields */ }Expand description
A builder for GetRouteOutput.
Implementations§
source§impl GetRouteOutputBuilder
impl GetRouteOutputBuilder
sourcepub fn route_id(self, input: impl Into<String>) -> Self
pub fn route_id(self, input: impl Into<String>) -> Self
The unique identifier of the route.
DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH: A route that is based on a URI path.
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.
DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH: A route that is based on a URI path.
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.
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.
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 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 route_type(self, input: RouteType) -> Self
pub fn route_type(self, input: RouteType) -> Self
The type of route.
sourcepub fn set_route_type(self, input: Option<RouteType>) -> Self
pub fn set_route_type(self, input: Option<RouteType>) -> Self
The type of route.
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
The unique identifier of the service.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
The unique identifier of the 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 that the route belongs to.
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 that the route belongs to.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
Unique identifier of the environment.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
Unique identifier of the environment.
sourcepub fn source_path(self, input: impl Into<String>) -> Self
pub fn source_path(self, input: impl Into<String>) -> Self
The path to use to match traffic. Paths must start with / and are relative to the base of the application.
sourcepub fn set_source_path(self, input: Option<String>) -> Self
pub fn set_source_path(self, input: Option<String>) -> Self
The path to use to match traffic. Paths must start with / and are relative to the base of the application.
sourcepub fn methods(self, input: HttpMethod) -> Self
pub fn methods(self, input: HttpMethod) -> Self
Appends an item to methods.
To override the contents of this collection use set_methods.
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
sourcepub fn set_methods(self, input: Option<Vec<HttpMethod>>) -> Self
pub fn set_methods(self, input: Option<Vec<HttpMethod>>) -> Self
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
sourcepub fn include_child_paths(self, input: bool) -> Self
pub fn include_child_paths(self, input: bool) -> Self
Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.
sourcepub fn set_include_child_paths(self, input: Option<bool>) -> Self
pub fn set_include_child_paths(self, input: Option<bool>) -> Self
Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.
sourcepub fn path_resource_to_id(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn path_resource_to_id( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to path_resource_to_id.
To override the contents of this collection use set_path_resource_to_id.
A mapping of Amazon API Gateway path resources to resource IDs.
sourcepub fn set_path_resource_to_id(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_path_resource_to_id( self, input: Option<HashMap<String, String>> ) -> Self
A mapping of Amazon API Gateway path resources to resource IDs.
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags assigned to the 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 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 error(self, input: ErrorResponse) -> Self
pub fn error(self, input: ErrorResponse) -> Self
Any error associated with the route resource.
sourcepub fn set_error(self, input: Option<ErrorResponse>) -> Self
pub fn set_error(self, input: Option<ErrorResponse>) -> Self
Any error associated with the route resource.
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 created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The timestamp of 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
The timestamp of when the route is created.
sourcepub fn build(self) -> GetRouteOutput
pub fn build(self) -> GetRouteOutput
Consumes the builder and constructs a GetRouteOutput.
Trait Implementations§
source§impl Clone for GetRouteOutputBuilder
impl Clone for GetRouteOutputBuilder
source§fn clone(&self) -> GetRouteOutputBuilder
fn clone(&self) -> GetRouteOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetRouteOutputBuilder
impl Debug for GetRouteOutputBuilder
source§impl Default for GetRouteOutputBuilder
impl Default for GetRouteOutputBuilder
source§fn default() -> GetRouteOutputBuilder
fn default() -> GetRouteOutputBuilder
source§impl PartialEq<GetRouteOutputBuilder> for GetRouteOutputBuilder
impl PartialEq<GetRouteOutputBuilder> for GetRouteOutputBuilder
source§fn eq(&self, other: &GetRouteOutputBuilder) -> bool
fn eq(&self, other: &GetRouteOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.