Interface Rule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Rule.Builder,,Rule> SdkBuilder<Rule.Builder,,Rule> SdkPojo
- Enclosing class:
Rule
@Mutable
@NotThreadSafe
public static interface Rule.Builder
extends SdkPojo, CopyableBuilder<Rule.Builder,Rule>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId(String detectorId) The detector for which the rule is associated.The rule ID.ruleVersion(String ruleVersion) The rule version.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
-
detectorId
The detector for which the rule is associated.
- Parameters:
detectorId- The detector for which the rule is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The rule ID.
- Parameters:
ruleId- The rule ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleVersion
The rule version.
- Parameters:
ruleVersion- The rule version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-