Class CfnRuleGroupsNamespace.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnRuleGroupsNamespace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupsNamespace>
- Enclosing class:
CfnRuleGroupsNamespace
@Stability(Stable)
public static final class CfnRuleGroupsNamespace.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupsNamespace>
A fluent builder for
CfnRuleGroupsNamespace
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The rules file used in the namespace.The name of the rule groups namespace.The list of tag keys and values that are associated with the rule groups namespace.The ID of the workspace to add the rule groups namespace.
-
Method Details
-
create
@Stability(Stable) public static CfnRuleGroupsNamespace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnRuleGroupsNamespace.Builder
.
-
data
The rules file used in the namespace.For more details about the rules file, see Creating a rules file in the Amazon Managed Service for Prometheus User Guide .
- Parameters:
data
- The rules file used in the namespace. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the rule groups namespace.- Parameters:
name
- The name of the rule groups namespace. This parameter is required.- Returns:
this
- See Also:
-
workspace
The ID of the workspace to add the rule groups namespace.- Parameters:
workspace
- The ID of the workspace to add the rule groups namespace. This parameter is required.- Returns:
this
- See Also:
-
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. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroupsNamespace>
- Returns:
- a newly built instance of
CfnRuleGroupsNamespace
.
-