Interface CreateRoutingRuleResponse.Builder

  • Method Details

    • 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

      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

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actions(List<RoutingRuleAction>).

      Parameters:
      actions - a consumer that will call methods on RoutingRuleAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditions(List<RoutingRuleCondition>).

      Parameters:
      conditions - a consumer that will call methods on RoutingRuleCondition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.