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 Details

    • create

      @Stability(Stable) public static CfnFramework.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFramework.Builder.
    • frameworkControls

      @Stability(Stable) public CfnFramework.Builder frameworkControls(IResolvable 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

      @Stability(Stable) public CfnFramework.Builder frameworkDescription(String 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

      @Stability(Stable) public CfnFramework.Builder frameworkName(String 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

      @Stability(Stable) public CfnFramework.Builder frameworkTags(IResolvable 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

      @Stability(Stable) public CfnFramework.Builder frameworkTags(List<? extends Object> 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

      @Stability(Stable) public CfnFramework build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFramework>
      Returns:
      a newly built instance of CfnFramework.