Class CfnFrameworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnFrameworkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFrameworkProps>
- Enclosing interface:
- CfnFrameworkProps
@Stability(Stable)
public static final class CfnFrameworkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFrameworkProps>
A builder for
CfnFrameworkProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.frameworkControls
(List<? extends Object> frameworkControls) Sets the value ofCfnFrameworkProps.getFrameworkControls()
frameworkControls
(IResolvable frameworkControls) Sets the value ofCfnFrameworkProps.getFrameworkControls()
frameworkDescription
(String frameworkDescription) Sets the value ofCfnFrameworkProps.getFrameworkDescription()
frameworkName
(String frameworkName) Sets the value ofCfnFrameworkProps.getFrameworkName()
frameworkTags
(List<? extends Object> frameworkTags) Sets the value ofCfnFrameworkProps.getFrameworkTags()
frameworkTags
(IResolvable frameworkTags) Sets the value ofCfnFrameworkProps.getFrameworkTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
frameworkControls
@Stability(Stable) public CfnFrameworkProps.Builder frameworkControls(IResolvable frameworkControls) Sets the value ofCfnFrameworkProps.getFrameworkControls()
- Parameters:
frameworkControls
- Contains detailed information about all of the controls of a framework. This parameter is required. Each framework must contain at least one control.- Returns:
this
-
frameworkControls
@Stability(Stable) public CfnFrameworkProps.Builder frameworkControls(List<? extends Object> frameworkControls) Sets the value ofCfnFrameworkProps.getFrameworkControls()
- Parameters:
frameworkControls
- Contains detailed information about all of the controls of a framework. This parameter is required. Each framework must contain at least one control.- Returns:
this
-
frameworkDescription
@Stability(Stable) public CfnFrameworkProps.Builder frameworkDescription(String frameworkDescription) Sets the value ofCfnFrameworkProps.getFrameworkDescription()
- Parameters:
frameworkDescription
- An optional description of the framework with a maximum 1,024 characters.- Returns:
this
-
frameworkName
Sets the value ofCfnFrameworkProps.getFrameworkName()
- Parameters:
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 (_).- Returns:
this
-
frameworkTags
Sets the value ofCfnFrameworkProps.getFrameworkTags()
- Parameters:
frameworkTags
- A list of tags with which to tag your framework.- Returns:
this
-
frameworkTags
@Stability(Stable) public CfnFrameworkProps.Builder frameworkTags(List<? extends Object> frameworkTags) Sets the value ofCfnFrameworkProps.getFrameworkTags()
- Parameters:
frameworkTags
- A list of tags with which to tag your framework.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFrameworkProps>
- Returns:
- a new instance of
CfnFrameworkProps
- Throws:
NullPointerException
- if any required attribute was not provided
-