Interface RuleSearchSummary.Builder

  • Method Details

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

      A unique identifier for the rule.

      Parameters:
      ruleId - A unique identifier for the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleArn

      The Amazon Resource Name (ARN) of the rule.

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

      RuleSearchSummary.Builder triggerEventSource(RuleTriggerEventSource triggerEventSource)

      The event source to trigger the rule.

      Parameters:
      triggerEventSource - The event source to trigger the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerEventSource

      default RuleSearchSummary.Builder triggerEventSource(Consumer<RuleTriggerEventSource.Builder> triggerEventSource)

      The event source to trigger the rule.

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

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

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

      RuleSearchSummary.Builder actionSummaries(Collection<ActionSummary> actionSummaries)

      A list of ActionTypes associated with a rule.

      Parameters:
      actionSummaries - A list of ActionTypes associated with a rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionSummaries

      RuleSearchSummary.Builder actionSummaries(ActionSummary... actionSummaries)

      A list of ActionTypes associated with a rule.

      Parameters:
      actionSummaries - A list of ActionTypes associated with a rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionSummaries

      RuleSearchSummary.Builder actionSummaries(Consumer<ActionSummary.Builder>... actionSummaries)

      A list of ActionTypes associated with a rule.

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

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

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

      RuleSearchSummary.Builder ruleCapabilityTiersWithStrings(Collection<String> ruleCapabilityTiers)

      The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).

      Parameters:
      ruleCapabilityTiers - The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleCapabilityTiersWithStrings

      RuleSearchSummary.Builder ruleCapabilityTiersWithStrings(String... ruleCapabilityTiers)

      The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).

      Parameters:
      ruleCapabilityTiers - The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleCapabilityTiers

      RuleSearchSummary.Builder ruleCapabilityTiers(Collection<RuleCapabilityTier> ruleCapabilityTiers)

      The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).

      Parameters:
      ruleCapabilityTiers - The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleCapabilityTiers

      RuleSearchSummary.Builder ruleCapabilityTiers(RuleCapabilityTier... ruleCapabilityTiers)

      The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).

      Parameters:
      ruleCapabilityTiers - The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publishStatus

      RuleSearchSummary.Builder publishStatus(String publishStatus)

      The publish status of the rule.

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

      RuleSearchSummary.Builder publishStatus(RulePublishStatus publishStatus)

      The publish status of the rule.

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

      RuleSearchSummary.Builder createdTime(Instant createdTime)

      The timestamp for when the rule was created.

      Parameters:
      createdTime - The timestamp for when the rule was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      RuleSearchSummary.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The timestamp for when the rule was last updated.

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

      RuleSearchSummary.Builder lastUpdatedBy(String lastUpdatedBy)

      The Amazon Resource Name (ARN) of the user who last updated the rule.

      Parameters:
      lastUpdatedBy - The Amazon Resource Name (ARN) of the user who last updated the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
      Returns:
      Returns a reference to this object so that method calls can be chained together.