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 Details

    • 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 to ACTIVE, 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

      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 to ACTIVE, 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

      UriPathRouteInput.Builder appendSourcePath(Boolean appendSourcePath)

      If set to true, this option appends the source path to the service URL endpoint.

      Parameters:
      appendSourcePath - If set to true, 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 is false, 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

      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

      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.