Interface RuleSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RuleSummary.Builder,RuleSummary>, SdkBuilder<RuleSummary.Builder,RuleSummary>, SdkPojo
Enclosing class:
RuleSummary

public static interface RuleSummary.Builder extends SdkPojo, CopyableBuilder<RuleSummary.Builder,RuleSummary>
  • 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

      RuleSummary.Builder ruleId(String 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

      RuleSummary.Builder ruleArn(String 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.
    • eventSourceName

      RuleSummary.Builder eventSourceName(String eventSourceName)

      The name of the event source.

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

      RuleSummary.Builder eventSourceName(EventSourceName eventSourceName)

      The name of the event source.

      Parameters:
      eventSourceName - The name of the event source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • publishStatus

      RuleSummary.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

      RuleSummary.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:
    • actionSummaries

      RuleSummary.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

      RuleSummary.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

      RuleSummary.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:
    • createdTime

      RuleSummary.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

      RuleSummary.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.