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 Details

    • create

      @Stability(Stable) public static CfnRuleGroupsNamespace.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnRuleGroupsNamespace.Builder.
    • data

      @Stability(Stable) public CfnRuleGroupsNamespace.Builder data(String data)
      The rules definition file for this namespace.

      Parameters:
      data - The rules definition file for this namespace. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnRuleGroupsNamespace.Builder name(String name)
      The name of the rule groups namespace.

      This property is required.

      Parameters:
      name - The name of the rule groups namespace. This parameter is required.
      Returns:
      this
    • workspace

      @Stability(Stable) public CfnRuleGroupsNamespace.Builder workspace(String workspace)
      The ARN of the workspace that contains this rule groups namespace.

      Parameters:
      workspace - The ARN of the workspace that contains this rule groups namespace. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnRuleGroupsNamespace.Builder tags(List<? extends CfnTag> tags)
      A list of key and value pairs for the workspace resources.

      Parameters:
      tags - A list of key and value pairs for the workspace resources. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnRuleGroupsNamespace build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnRuleGroupsNamespace>
      Returns:
      a newly built instance of CfnRuleGroupsNamespace.