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.Builder
description
(String description) A description of the resource set.The descriptive name of the resource set.resourceTypeList
(List<String> resourceTypeList) Determines the resources that can be associated to the resource set.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
description
A description of the resource set.- Parameters:
description
- A description of the resource set. This parameter is required.- Returns:
this
- See Also:
-
resources
- Parameters:
resources
- This parameter is required.- Returns:
this
- See Also:
-
tags
- Parameters:
tags
- This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceSet>
- Returns:
- a newly built instance of
CfnResourceSet
.
-