Interface CreateRoutingRuleResponse.Builder

    • Method Detail

      • actions

        CreateRoutingRuleResponse.Builder actions​(Collection<RoutingRuleAction> actions)

        Represents a routing rule action. The only supported action is invokeApi.

        Parameters:
        actions - Represents a routing rule action. The only supported action is invokeApi.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        CreateRoutingRuleResponse.Builder actions​(RoutingRuleAction... actions)

        Represents a routing rule action. The only supported action is invokeApi.

        Parameters:
        actions - Represents a routing rule action. The only supported action is invokeApi.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conditions

        CreateRoutingRuleResponse.Builder conditions​(Collection<RoutingRuleCondition> conditions)

        Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.

        Parameters:
        conditions - Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conditions

        CreateRoutingRuleResponse.Builder conditions​(RoutingRuleCondition... conditions)

        Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.

        Parameters:
        conditions - Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • priority

        CreateRoutingRuleResponse.Builder priority​(Integer priority)

        Represents the priority of the routing rule.

        Parameters:
        priority - Represents the priority of the routing rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routingRuleArn

        CreateRoutingRuleResponse.Builder routingRuleArn​(String routingRuleArn)

        The ARN of the domain name.

        Parameters:
        routingRuleArn - The ARN of the domain name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routingRuleId

        CreateRoutingRuleResponse.Builder routingRuleId​(String routingRuleId)

        The routing rule ID.

        Parameters:
        routingRuleId - The routing rule ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.