Interface UriPathRouteInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UriPathRouteInput.Builder,
,UriPathRouteInput> SdkBuilder<UriPathRouteInput.Builder,
,UriPathRouteInput> SdkPojo
- Enclosing class:
UriPathRouteInput
-
Method Summary
Modifier and TypeMethodDescriptionactivationState
(String activationState) If set toACTIVE
, traffic is forwarded to this route’s service after the route is created.activationState
(RouteActivationState activationState) If set toACTIVE
, traffic is forwarded to this route’s service after the route is created.appendSourcePath
(Boolean appendSourcePath) If set totrue
, this option appends the source path to the service URL endpoint.includeChildPaths
(Boolean includeChildPaths) Indicates whether to match all subpaths of the given source path.methods
(Collection<HttpMethod> methods) A list of HTTP methods to match.methods
(HttpMethod... methods) A list of HTTP methods to match.methodsWithStrings
(String... methods) A list of HTTP methods to match.methodsWithStrings
(Collection<String> methods) A list of HTTP methods to match.sourcePath
(String sourcePath) This is the path that Refactor Spaces uses to match traffic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
activationState
If set to
ACTIVE
, traffic is forwarded to this route’s service after the route is created.- Parameters:
activationState
- If set toACTIVE
, traffic is forwarded to this route’s service after the route is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationState
If set to
ACTIVE
, traffic is forwarded to this route’s service after the route is created.- Parameters:
activationState
- If set toACTIVE
, traffic is forwarded to this route’s service after the route is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appendSourcePath
If set to
true
, this option appends the source path to the service URL endpoint.- Parameters:
appendSourcePath
- If set totrue
, this option appends the source path to the service URL endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeChildPaths
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.- Parameters:
includeChildPaths
- Indicates whether to match all subpaths of the given source path. If this value isfalse
, requests must match the source path exactly before they are forwarded to this route's service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
methodsWithStrings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
methodsWithStrings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePath
This is the path that Refactor Spaces uses to match traffic. Paths must start with
/
and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.- Parameters:
sourcePath
- This is the path that Refactor Spaces uses to match traffic. Paths must start with/
and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-