Class CfnFramework.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnFramework.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFramework>
- Enclosing class:
- CfnFramework
@Stability(Stable)
public static final class CfnFramework.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFramework>
A fluent builder for
CfnFramework
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnFramework.Builder
frameworkControls
(List<? extends Object> frameworkControls) Contains detailed information about all of the controls of a framework.frameworkControls
(IResolvable frameworkControls) Contains detailed information about all of the controls of a framework.frameworkDescription
(String frameworkDescription) An optional description of the framework with a maximum 1,024 characters.frameworkName
(String frameworkName) The unique name of a framework.frameworkTags
(List<? extends Object> frameworkTags) A list of tags with which to tag your framework.frameworkTags
(IResolvable frameworkTags) A list of tags with which to tag your framework.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFramework.Builder
.
-
frameworkControls
Contains detailed information about all of the controls of a framework.Each framework must contain at least one control.
- Parameters:
frameworkControls
- Contains detailed information about all of the controls of a framework. This parameter is required.- Returns:
this
-
frameworkControls
@Stability(Stable) public CfnFramework.Builder frameworkControls(List<? extends Object> frameworkControls) Contains detailed information about all of the controls of a framework.Each framework must contain at least one control.
- Parameters:
frameworkControls
- Contains detailed information about all of the controls of a framework. This parameter is required.- Returns:
this
-
frameworkDescription
An optional description of the framework with a maximum 1,024 characters.- Parameters:
frameworkDescription
- An optional description of the framework with a maximum 1,024 characters. This parameter is required.- Returns:
this
-
frameworkName
The unique name of a framework.This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
- Parameters:
frameworkName
- The unique name of a framework. This parameter is required.- Returns:
this
-
frameworkTags
A list of tags with which to tag your framework.- Parameters:
frameworkTags
- A list of tags with which to tag your framework. This parameter is required.- Returns:
this
-
frameworkTags
A list of tags with which to tag your framework.- Parameters:
frameworkTags
- A list of tags with which to tag your framework. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFramework>
- Returns:
- a newly built instance of
CfnFramework
.
-