Class CfnFramework.FrameworkControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnFramework.FrameworkControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFramework.FrameworkControlProperty>
- Enclosing interface:
- CfnFramework.FrameworkControlProperty
@Stability(Stable)
public static final class CfnFramework.FrameworkControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFramework.FrameworkControlProperty>
A builder for
CfnFramework.FrameworkControlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.controlInputParameters(List<? extends Object> controlInputParameters) Sets the value ofCfnFramework.FrameworkControlProperty.getControlInputParameters()controlInputParameters(IResolvable controlInputParameters) Sets the value ofCfnFramework.FrameworkControlProperty.getControlInputParameters()controlName(String controlName) Sets the value ofCfnFramework.FrameworkControlProperty.getControlName()controlScope(Object controlScope) Sets the value ofCfnFramework.FrameworkControlProperty.getControlScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlName
@Stability(Stable) public CfnFramework.FrameworkControlProperty.Builder controlName(String controlName) Sets the value ofCfnFramework.FrameworkControlProperty.getControlName()- Parameters:
controlName- The name of a control. This parameter is required. This name is between 1 and 256 characters.- Returns:
this
-
controlInputParameters
@Stability(Stable) public CfnFramework.FrameworkControlProperty.Builder controlInputParameters(IResolvable controlInputParameters) Sets the value ofCfnFramework.FrameworkControlProperty.getControlInputParameters()- Parameters:
controlInputParameters- A list ofParameterNameandParameterValuepairs.- Returns:
this
-
controlInputParameters
@Stability(Stable) public CfnFramework.FrameworkControlProperty.Builder controlInputParameters(List<? extends Object> controlInputParameters) Sets the value ofCfnFramework.FrameworkControlProperty.getControlInputParameters()- Parameters:
controlInputParameters- A list ofParameterNameandParameterValuepairs.- Returns:
this
-
controlScope
@Stability(Stable) public CfnFramework.FrameworkControlProperty.Builder controlScope(Object controlScope) Sets the value ofCfnFramework.FrameworkControlProperty.getControlScope()- Parameters:
controlScope- The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, seeControlScope.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFramework.FrameworkControlProperty>- Returns:
- a new instance of
CfnFramework.FrameworkControlProperty - Throws:
NullPointerException- if any required attribute was not provided
-