Interface RuleGroupsNamespaceDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupsNamespaceDescription.Builder,RuleGroupsNamespaceDescription>,SdkBuilder<RuleGroupsNamespaceDescription.Builder,RuleGroupsNamespaceDescription>,SdkPojo
- Enclosing class:
- RuleGroupsNamespaceDescription
public static interface RuleGroupsNamespaceDescription.Builder extends SdkPojo, CopyableBuilder<RuleGroupsNamespaceDescription.Builder,RuleGroupsNamespaceDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RuleGroupsNamespaceDescription.Builderarn(String arn)The ARN of the rule groups namespace.RuleGroupsNamespaceDescription.BuildercreatedAt(Instant createdAt)The date and time that the rule groups namespace was created.RuleGroupsNamespaceDescription.Builderdata(SdkBytes data)The rule groups file used in the namespace.RuleGroupsNamespaceDescription.BuildermodifiedAt(Instant modifiedAt)The date and time that the rule groups namespace was most recently changed.RuleGroupsNamespaceDescription.Buildername(String name)The name of the rule groups namespace.default RuleGroupsNamespaceDescription.Builderstatus(Consumer<RuleGroupsNamespaceStatus.Builder> status)The current status of the rule groups namespace.RuleGroupsNamespaceDescription.Builderstatus(RuleGroupsNamespaceStatus status)The current status of the rule groups namespace.RuleGroupsNamespaceDescription.Buildertags(Map<String,String> tags)The list of tag keys and values that are associated with the rule groups namespace.-
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 Detail
-
arn
RuleGroupsNamespaceDescription.Builder arn(String arn)
The ARN of the rule groups namespace. For example,
arn:aws:aps:<region>:123456789012:rulegroupsnamespace/ws-example1-1234-abcd-5678-ef90abcd1234/rulesfile1.- Parameters:
arn- The ARN of the rule groups namespace. For example,arn:aws:aps:<region>:123456789012:rulegroupsnamespace/ws-example1-1234-abcd-5678-ef90abcd1234/rulesfile1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
RuleGroupsNamespaceDescription.Builder createdAt(Instant createdAt)
The date and time that the rule groups namespace was created.
- Parameters:
createdAt- The date and time that the rule groups namespace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
RuleGroupsNamespaceDescription.Builder data(SdkBytes data)
The rule groups file used in the namespace.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
- Parameters:
data- The rule groups file used in the namespace.For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
RuleGroupsNamespaceDescription.Builder modifiedAt(Instant modifiedAt)
The date and time that the rule groups namespace was most recently changed.
- Parameters:
modifiedAt- The date and time that the rule groups namespace was most recently changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
RuleGroupsNamespaceDescription.Builder name(String name)
The name of the rule groups namespace.
- Parameters:
name- The name of the rule groups namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
RuleGroupsNamespaceDescription.Builder status(RuleGroupsNamespaceStatus status)
The current status of the rule groups namespace.
- Parameters:
status- The current status of the rule groups namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default RuleGroupsNamespaceDescription.Builder status(Consumer<RuleGroupsNamespaceStatus.Builder> status)
The current status of the rule groups namespace.
This is a convenience method that creates an instance of theRuleGroupsNamespaceStatus.Builderavoiding the need to create one manually viaRuleGroupsNamespaceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(RuleGroupsNamespaceStatus).- Parameters:
status- a consumer that will call methods onRuleGroupsNamespaceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(RuleGroupsNamespaceStatus)
-
tags
RuleGroupsNamespaceDescription.Builder tags(Map<String,String> tags)
The list of tag keys and values that are associated with the rule groups namespace.
- Parameters:
tags- The list of tag keys and values that are associated with the rule groups namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-