Interface RuleSummary.Builder

  • Method Details

    • action

      RuleSummary.Builder action(String action)

      The action of the rule.

      Parameters:
      action - The action of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action of the rule.

      Parameters:
      action - The action of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identifier

      RuleSummary.Builder identifier(String identifier)

      The ID of the rule.

      Parameters:
      identifier - The ID of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedBy

      RuleSummary.Builder lastUpdatedBy(String lastUpdatedBy)

      The timestamp at which the rule was last updated.

      Parameters:
      lastUpdatedBy - The timestamp at which the rule was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the rule.

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

      RuleSummary.Builder revision(String revision)

      The revision of the rule.

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

      RuleSummary.Builder ruleType(String ruleType)

      The type of the rule.

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

      RuleSummary.Builder ruleType(RuleType ruleType)

      The type of the rule.

      Parameters:
      ruleType - The type of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The scope of the rule.

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

      The scope of the rule.

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

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

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

      The target of the rule.

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

      The target of the rule.

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

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

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

      RuleSummary.Builder targetType(String targetType)

      The target type of the rule.

      Parameters:
      targetType - The target type of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetType

      RuleSummary.Builder targetType(RuleTargetType targetType)

      The target type of the rule.

      Parameters:
      targetType - The target type of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      RuleSummary.Builder updatedAt(Instant updatedAt)

      The timestamp at which the rule was last updated.

      Parameters:
      updatedAt - The timestamp at which the rule was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.