Interface CreateRouteResponse.Builder

    • Method Detail

      • applicationId

        CreateRouteResponse.Builder applicationId​(String applicationId)

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

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

        CreateRouteResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdByAccountId

        CreateRouteResponse.Builder createdByAccountId​(String createdByAccountId)

        The Amazon Web Services account ID of the route creator.

        Parameters:
        createdByAccountId - The Amazon Web Services account ID of the route creator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTime

        CreateRouteResponse.Builder createdTime​(Instant createdTime)

        A timestamp that indicates when the route is created.

        Parameters:
        createdTime - A timestamp that indicates when the route is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        CreateRouteResponse.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        A timestamp that indicates when the route was last updated.

        Parameters:
        lastUpdatedTime - A timestamp that indicates when the route was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerAccountId

        CreateRouteResponse.Builder ownerAccountId​(String ownerAccountId)

        The Amazon Web Services account ID of the route owner.

        Parameters:
        ownerAccountId - The Amazon Web Services account ID of the route owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeId

        CreateRouteResponse.Builder routeId​(String routeId)

        The unique identifier of the route.

        Parameters:
        routeId - The unique identifier of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeType

        CreateRouteResponse.Builder routeType​(String routeType)

        The route type of the route.

        Parameters:
        routeType - The route type of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteType, RouteType
      • routeType

        CreateRouteResponse.Builder routeType​(RouteType routeType)

        The route type of the route.

        Parameters:
        routeType - The route type of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteType, RouteType
      • serviceId

        CreateRouteResponse.Builder serviceId​(String serviceId)

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

        Parameters:
        serviceId - The ID of 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.
      • state

        CreateRouteResponse.Builder state​(String state)

        The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.

        Parameters:
        state - The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteState, RouteState
      • state

        CreateRouteResponse.Builder state​(RouteState state)

        The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.

        Parameters:
        state - The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteState, RouteState
      • tags

        CreateRouteResponse.Builder tags​(Map<String,​String> tags)

        The tags assigned to the created 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 assigned to the created 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

        CreateRouteResponse.Builder uriPathRoute​(UriPathRouteInput uriPathRoute)

        Configuration for the URI path route type.

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