Interface RuleSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleSummary.Builder,
,RuleSummary> SdkBuilder<RuleSummary.Builder,
,RuleSummary> SdkPojo
- Enclosing class:
RuleSummary
@Mutable
@NotThreadSafe
public static interface RuleSummary.Builder
extends SdkPojo, CopyableBuilder<RuleSummary.Builder,RuleSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe action of the rule.action
(RuleAction action) The action of the rule.identifier
(String identifier) The ID of the rule.lastUpdatedBy
(String lastUpdatedBy) The timestamp at which the rule was last updated.The name of the rule.The revision of the rule.The type of the rule.The type of the rule.default RuleSummary.Builder
scope
(Consumer<RuleScope.Builder> scope) The scope of the rule.The scope of the rule.default RuleSummary.Builder
target
(Consumer<RuleTarget.Builder> target) The target of the rule.target
(RuleTarget target) The target of the rule.targetType
(String targetType) The target type of the rule.targetType
(RuleTargetType targetType) The target type of the rule.The timestamp at which the rule was last updated.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, sdkFieldNameToField, sdkFields
-
Method Details
-
action
The action of the rule.
- Parameters:
action
- The action of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action of the rule.
- Parameters:
action
- The action of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identifier
The ID of the rule.
- Parameters:
identifier
- The ID of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
The timestamp at which the rule was last updated.
- Parameters:
lastUpdatedBy
- The timestamp at which the rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
revision
The revision of the rule.
- Parameters:
revision
- The revision of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleType
The type of the rule.
- Parameters:
ruleType
- The type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleType
The type of the rule.
- Parameters:
ruleType
- The type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The scope of the rule.
- Parameters:
scope
- The scope of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the rule.
This is a convenience method that creates an instance of theRuleScope.Builder
avoiding the need to create one manually viaRuleScope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscope(RuleScope)
.- Parameters:
scope
- a consumer that will call methods onRuleScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The target of the rule.
- Parameters:
target
- The target of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target of the rule.
This is a convenience method that creates an instance of theRuleTarget.Builder
avoiding the need to create one manually viaRuleTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totarget(RuleTarget)
.- Parameters:
target
- a consumer that will call methods onRuleTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The target type of the rule.
- Parameters:
targetType
- The target type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The target type of the rule.
- Parameters:
targetType
- The target type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The timestamp at which the rule was last updated.
- Parameters:
updatedAt
- The timestamp at which the rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-