Interface CreateRuleRequest.Builder

    • Method Detail

      • action

        CreateRuleRequest.Builder action​(RuleAction action)

        The action for the default rule.

        Parameters:
        action - The action for the default rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateRuleRequest.Builder clientToken​(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • listenerIdentifier

        CreateRuleRequest.Builder listenerIdentifier​(String listenerIdentifier)

        The ID or Amazon Resource Name (ARN) of the listener.

        Parameters:
        listenerIdentifier - The ID or Amazon Resource Name (ARN) of the listener.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • match

        CreateRuleRequest.Builder match​(RuleMatch match)

        The rule match.

        Parameters:
        match - The rule match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateRuleRequest.Builder name​(String name)

        The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

        Parameters:
        name - The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • priority

        CreateRuleRequest.Builder priority​(Integer priority)

        The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

        Parameters:
        priority - The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceIdentifier

        CreateRuleRequest.Builder serviceIdentifier​(String serviceIdentifier)

        The ID or Amazon Resource Name (ARN) of the service.

        Parameters:
        serviceIdentifier - The ID or Amazon Resource Name (ARN) of the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags for the rule.

        Parameters:
        tags - The tags for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.