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 CfnTag> frameworkTags) The tags to assign to your framework.
-
Method Details
-
create
@Stability(Stable) public static CfnFramework.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
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
frameworkTags
The tags to assign to your framework.- Parameters:
frameworkTags
- The tags to assign to your framework. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFramework>
- Returns:
- a newly built instance of
CfnFramework
.
-