Interface UriPathRouteInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UriPathRouteInput.Builder,UriPathRouteInput>,SdkBuilder<UriPathRouteInput.Builder,UriPathRouteInput>,SdkPojo
- Enclosing class:
- UriPathRouteInput
public static interface UriPathRouteInput.Builder extends SdkPojo, CopyableBuilder<UriPathRouteInput.Builder,UriPathRouteInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UriPathRouteInput.BuilderactivationState(String activationState)If set toACTIVE, traffic is forwarded to this route’s service after the route is created.UriPathRouteInput.BuilderactivationState(RouteActivationState activationState)If set toACTIVE, traffic is forwarded to this route’s service after the route is created.UriPathRouteInput.BuilderappendSourcePath(Boolean appendSourcePath)If set totrue, this option appends the source path to the service URL endpoint.UriPathRouteInput.BuilderincludeChildPaths(Boolean includeChildPaths)Indicates whether to match all subpaths of the given source path.UriPathRouteInput.Buildermethods(Collection<HttpMethod> methods)A list of HTTP methods to match.UriPathRouteInput.Buildermethods(HttpMethod... methods)A list of HTTP methods to match.UriPathRouteInput.BuildermethodsWithStrings(String... methods)A list of HTTP methods to match.UriPathRouteInput.BuildermethodsWithStrings(Collection<String> methods)A list of HTTP methods to match.UriPathRouteInput.BuildersourcePath(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 Detail
-
activationState
UriPathRouteInput.Builder activationState(String 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:
RouteActivationState,RouteActivationState
-
activationState
UriPathRouteInput.Builder activationState(RouteActivationState 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:
RouteActivationState,RouteActivationState
-
appendSourcePath
UriPathRouteInput.Builder appendSourcePath(Boolean 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
UriPathRouteInput.Builder includeChildPaths(Boolean 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
UriPathRouteInput.Builder methodsWithStrings(Collection<String> 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.
-
methodsWithStrings
UriPathRouteInput.Builder methodsWithStrings(String... 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
UriPathRouteInput.Builder methods(Collection<HttpMethod> 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
UriPathRouteInput.Builder methods(HttpMethod... 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
UriPathRouteInput.Builder sourcePath(String 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.
-
-