Class CfnRuleGroupsNamespacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnRuleGroupsNamespacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupsNamespacePropsMixin>
- Enclosing class:
CfnRuleGroupsNamespacePropsMixin
@Stability(Stable)
public static final class CfnRuleGroupsNamespacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupsNamespacePropsMixin>
A fluent builder for
CfnRuleGroupsNamespacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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 CfnRuleGroupsNamespacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRuleGroupsNamespacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRuleGroupsNamespacePropsMixin.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:
-
tags
@Stability(Stable) public CfnRuleGroupsNamespacePropsMixin.Builder tags(List<? extends CfnTag> 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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupsNamespacePropsMixin>- Returns:
- a newly built instance of
CfnRuleGroupsNamespacePropsMixin.
-