Class CfnResourceSet.Builder

java.lang.Object
software.amazon.awscdk.services.fms.CfnResourceSet.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSet>
Enclosing class:
CfnResourceSet

@Stability(Stable) public static final class CfnResourceSet.Builder extends Object implements software.amazon.jsii.Builder<CfnResourceSet>
A fluent builder for CfnResourceSet.
  • Method Details

    • create

      @Stability(Stable) public static CfnResourceSet.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 CfnResourceSet.Builder.
    • name

      @Stability(Stable) public CfnResourceSet.Builder name(String name)
      The descriptive name of the resource set.

      You can't change the name of a resource set after you create it.

      Parameters:
      name - The descriptive name of the resource set. This parameter is required.
      Returns:
      this
    • resourceTypeList

      @Stability(Stable) public CfnResourceSet.Builder resourceTypeList(List<String> resourceTypeList)
      Determines the resources that can be associated to the resource set.

      Depending on your setting for max results and the number of resource sets, a single call might not return the full list.

      Parameters:
      resourceTypeList - Determines the resources that can be associated to the resource set. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnResourceSet.Builder description(String description)
      A description of the resource set.

      Parameters:
      description - A description of the resource set. This parameter is required.
      Returns:
      this
    • resources

      @Stability(Stable) public CfnResourceSet.Builder resources(List<String> resources)
      The resources included in the resource set.

      Parameters:
      resources - The resources included in the resource set. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnResourceSet.Builder tags(List<? extends CfnTag> tags)
      A collection of key:value pairs associated with a resource set.

      The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.

      Parameters:
      tags - A collection of key:value pairs associated with a resource set. This parameter is required.
      Returns:
      this
    • build

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