Interface GetRuleResponse.Builder

  • Method Details

    • 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.
    • action

      The action for the default rule.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to action(RuleAction).

      Parameters:
      action - a consumer that will call methods on RuleAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • arn

      The Amazon Resource Name (ARN) of the listener.

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

      GetRuleResponse.Builder createdAt(Instant createdAt)

      The date and time that the listener rule was created, in ISO-8601 format.

      Parameters:
      createdAt - The date and time that the listener rule was created, in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the listener.

      Parameters:
      id - The ID of the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isDefault

      GetRuleResponse.Builder isDefault(Boolean isDefault)

      Indicates whether this is the default rule.

      Parameters:
      isDefault - Indicates whether this is the default rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetRuleResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time that the listener rule was last updated, in ISO-8601 format.

      Parameters:
      lastUpdatedAt - The date and time that the listener rule was last updated, in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • match

      The rule match.

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

      The rule match.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to match(RuleMatch).

      Parameters:
      match - a consumer that will call methods on RuleMatch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The name of the listener.

      Parameters:
      name - The name of the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      GetRuleResponse.Builder priority(Integer priority)

      The priority level for the specified rule.

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