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 Summary
Modifier and TypeMethodDescriptionactionSummaries
(Collection<ActionSummary> actionSummaries) A list of ActionTypes associated with a rule.actionSummaries
(Consumer<ActionSummary.Builder>... actionSummaries) A list of ActionTypes associated with a rule.actionSummaries
(ActionSummary... actionSummaries) A list of ActionTypes associated with a rule.createdTime
(Instant createdTime) The timestamp for when the rule was created.eventSourceName
(String eventSourceName) The name of the event source.eventSourceName
(EventSourceName eventSourceName) The name of the event source.lastUpdatedTime
(Instant lastUpdatedTime) The timestamp for when the rule was last updated.The name of the rule.publishStatus
(String publishStatus) The publish status of the rule.publishStatus
(RulePublishStatus publishStatus) The publish status of the rule.The Amazon Resource Name (ARN) of the rule.A unique identifier for the rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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.
-
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
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
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
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
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
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
A list of ActionTypes associated with a rule.
This is a convenience method that creates an instance of theActionSummary.Builder
avoiding the need to create one manually viaActionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionSummaries(List<ActionSummary>)
.- Parameters:
actionSummaries
- a consumer that will call methods onActionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-