Class CfnResourceGroup.Builder
java.lang.Object
software.amazon.awscdk.services.inspector.CfnResourceGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceGroup>
- Enclosing class:
CfnResourceGroup
@Stability(Stable)
public static final class CfnResourceGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceGroup>
A fluent builder for
CfnResourceGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnResourceGroup.BuilderresourceGroupTags(List<? extends Object> resourceGroupTags) The tags (key and value pairs) that will be associated with the resource group.resourceGroupTags(IResolvable resourceGroupTags) The tags (key and value pairs) that will be associated with the resource group.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceGroup.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
CfnResourceGroup.Builder.
-
resourceGroupTags
The tags (key and value pairs) that will be associated with the resource group.For more information, see Tag .
- Parameters:
resourceGroupTags- The tags (key and value pairs) that will be associated with the resource group. This parameter is required.- Returns:
this- See Also:
-
resourceGroupTags
@Stability(Stable) public CfnResourceGroup.Builder resourceGroupTags(List<? extends Object> resourceGroupTags) The tags (key and value pairs) that will be associated with the resource group.For more information, see Tag .
- Parameters:
resourceGroupTags- The tags (key and value pairs) that will be associated with the resource group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceGroup>- Returns:
- a newly built instance of
CfnResourceGroup.
-