Interface CreateRouteRequest.Builder

    • Method Detail

      • 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.
      • 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, RouteType
      • 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:
        RouteType, RouteType
      • 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

        CreateRouteRequest.Builder tags​(Map<String,​String> 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.