Interface RuleSearchSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleSearchSummary.Builder,,RuleSearchSummary> SdkBuilder<RuleSearchSummary.Builder,,RuleSearchSummary> SdkPojo
- Enclosing class:
RuleSearchSummary
-
Method Summary
Modifier and TypeMethodDescriptionactionSummaries(Collection<ActionSummary> actionSummaries) A list ofActionTypesassociated with a rule.actionSummaries(Consumer<ActionSummary.Builder>... actionSummaries) A list ofActionTypesassociated with a rule.actionSummaries(ActionSummary... actionSummaries) A list ofActionTypesassociated with a rule.createdTime(Instant createdTime) The timestamp for when the rule was created.lastUpdatedBy(String lastUpdatedBy) The Amazon Resource Name (ARN) of the user who last updated the rule.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.ruleCapabilityTiers(Collection<RuleCapabilityTier> ruleCapabilityTiers) The list of capability tiers associated with the rule.ruleCapabilityTiers(RuleCapabilityTier... ruleCapabilityTiers) The list of capability tiers associated with the rule.ruleCapabilityTiersWithStrings(String... ruleCapabilityTiers) The list of capability tiers associated with the rule.ruleCapabilityTiersWithStrings(Collection<String> ruleCapabilityTiers) The list of capability tiers associated with the rule.A unique identifier for the rule.The tags used to organize, track, or control access for this resource.default RuleSearchSummary.BuildertriggerEventSource(Consumer<RuleTriggerEventSource.Builder> triggerEventSource) The event source to trigger the rule.triggerEventSource(RuleTriggerEventSource triggerEventSource) The event source to trigger the rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.
-
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 theRuleTriggerEventSource.Builderavoiding the need to create one manually viaRuleTriggerEventSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totriggerEventSource(RuleTriggerEventSource).- Parameters:
triggerEventSource- a consumer that will call methods onRuleTriggerEventSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionSummaries
A list of
ActionTypesassociated with a rule.- Parameters:
actionSummaries- A list ofActionTypesassociated with a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionSummaries
A list of
ActionTypesassociated with a rule.- Parameters:
actionSummaries- A list ofActionTypesassociated with a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionSummaries
A list of
This is a convenience method that creates an instance of theActionTypesassociated with a rule.ActionSummary.Builderavoiding the need to create one manually viaActionSummary.builder().When the
Consumercompletes,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:
-
ruleCapabilityTiersWithStrings
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
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
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
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
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:
-
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.
-
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.
-