Class CfnRuleGroupsNamespaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnRuleGroupsNamespaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupsNamespaceProps>
- Enclosing interface:
CfnRuleGroupsNamespaceProps
@Stability(Stable)
public static final class CfnRuleGroupsNamespaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupsNamespaceProps>
A builder for
CfnRuleGroupsNamespaceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRuleGroupsNamespaceProps.getData()
Sets the value ofCfnRuleGroupsNamespaceProps.getName()
Sets the value ofCfnRuleGroupsNamespaceProps.getTags()
Sets the value ofCfnRuleGroupsNamespaceProps.getWorkspace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
Sets the value ofCfnRuleGroupsNamespaceProps.getData()
- Parameters:
data
- The rules definition file for this namespace. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnRuleGroupsNamespaceProps.getName()
- Parameters:
name
- The name of the rule groups namespace. This parameter is required. This property is required.- Returns:
this
-
workspace
Sets the value ofCfnRuleGroupsNamespaceProps.getWorkspace()
- Parameters:
workspace
- The ARN of the workspace that contains this rule groups namespace. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnRuleGroupsNamespaceProps.getTags()
- Parameters:
tags
- A list of key and value pairs for the workspace resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroupsNamespaceProps>
- Returns:
- a new instance of
CfnRuleGroupsNamespaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-