Interface CreateRouteRequest.Builder

  • Method Details

    • applicationIdentifier

      CreateRouteRequest.Builder applicationIdentifier(String applicationIdentifier)

      The ID of the application within which the route is being created.

      Parameters:
      applicationIdentifier - The ID of the application within which the route is being created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateRouteRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultRoute

      CreateRouteRequest.Builder defaultRoute(DefaultRouteInput defaultRoute)

      Configuration for the default route type.

      Parameters:
      defaultRoute - Configuration for the default route type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultRoute

      default CreateRouteRequest.Builder defaultRoute(Consumer<DefaultRouteInput.Builder> defaultRoute)

      Configuration for the default route type.

      This is a convenience method that creates an instance of the DefaultRouteInput.Builder avoiding the need to create one manually via DefaultRouteInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to defaultRoute(DefaultRouteInput).

      Parameters:
      defaultRoute - a consumer that will call methods on DefaultRouteInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environmentIdentifier

      CreateRouteRequest.Builder environmentIdentifier(String environmentIdentifier)

      The ID of the environment in which the route is created.

      Parameters:
      environmentIdentifier - The ID of the environment in which the route is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeType

      CreateRouteRequest.Builder routeType(String routeType)

      The route type of the route. DEFAULT indicates that 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 indicates a route that is based on a URI path.

      Parameters:
      routeType - The route type of the route. DEFAULT indicates that 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 indicates a route that is based on a URI path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • routeType

      CreateRouteRequest.Builder routeType(RouteType routeType)

      The route type of the route. DEFAULT indicates that 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 indicates a route that is based on a URI path.

      Parameters:
      routeType - The route type of the route. DEFAULT indicates that 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 indicates a route that is based on a URI path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceIdentifier

      CreateRouteRequest.Builder serviceIdentifier(String serviceIdentifier)

      The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.

      Parameters:
      serviceIdentifier - The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to assign 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..

      Parameters:
      tags - The tags to assign 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..
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uriPathRoute

      CreateRouteRequest.Builder uriPathRoute(UriPathRouteInput uriPathRoute)

      The configuration for the URI path route type.

      Parameters:
      uriPathRoute - The configuration for the URI path route type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uriPathRoute

      default CreateRouteRequest.Builder uriPathRoute(Consumer<UriPathRouteInput.Builder> uriPathRoute)

      The configuration for the URI path route type.

      This is a convenience method that creates an instance of the UriPathRouteInput.Builder avoiding the need to create one manually via UriPathRouteInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to uriPathRoute(UriPathRouteInput).

      Parameters:
      uriPathRoute - a consumer that will call methods on UriPathRouteInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.