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 Summary
Modifier and TypeMethodDescriptionbuild()static CfnResourceSet.Builderdescription(String description) A description of the resource set.The descriptive name of the resource set.The resources included in the resource set.resourceTypeList(List<String> resourceTypeList) Determines the resources that can be associated to the resource set.A collection of key:value pairs associated with a resource set.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnResourceSet.Builder.
-
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
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
A description of the resource set.- Parameters:
description- A description of the resource set. This parameter is required.- Returns:
this
-
resources
The resources included in the resource set.- Parameters:
resources- The resources included in the resource set. This parameter is required.- Returns:
this
-
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
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceSet>- Returns:
- a newly built instance of
CfnResourceSet.
-