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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleSummary.BuilderactionSummaries(Collection<ActionSummary> actionSummaries)A list of ActionTypes associated with a rule.RuleSummary.BuilderactionSummaries(Consumer<ActionSummary.Builder>... actionSummaries)A list of ActionTypes associated with a rule.RuleSummary.BuilderactionSummaries(ActionSummary... actionSummaries)A list of ActionTypes associated with a rule.RuleSummary.BuildercreatedTime(Instant createdTime)The timestamp for when the rule was created.RuleSummary.BuildereventSourceName(String eventSourceName)The name of the event source.RuleSummary.BuildereventSourceName(EventSourceName eventSourceName)The name of the event source.RuleSummary.BuilderlastUpdatedTime(Instant lastUpdatedTime)The timestamp for when the rule was last updated.RuleSummary.Buildername(String name)The name of the rule.RuleSummary.BuilderpublishStatus(String publishStatus)The publish status of the rule.RuleSummary.BuilderpublishStatus(RulePublishStatus publishStatus)The publish status of the rule.RuleSummary.BuilderruleArn(String ruleArn)The Amazon Resource Name (ARN) of the rule.RuleSummary.BuilderruleId(String ruleId)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 Detail
-
name
RuleSummary.Builder name(String 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,EventSourceName
-
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:
EventSourceName,EventSourceName
-
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:
RulePublishStatus,RulePublishStatus
-
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:
RulePublishStatus,RulePublishStatus
-
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 theActionSummary.Builderavoiding the need to create one manually viaActionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionSummaries(List.) - 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:
#actionSummaries(java.util.Collection)
-
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.
-
-