Class CfnEnabledControl.EnabledControlParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.controltower.CfnEnabledControl.EnabledControlParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnabledControl.EnabledControlParameterProperty>
- Enclosing interface:
CfnEnabledControl.EnabledControlParameterProperty
@Stability(Stable)
public static final class CfnEnabledControl.EnabledControlParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnabledControl.EnabledControlParameterProperty>
A builder for
CfnEnabledControl.EnabledControlParameterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEnabledControl.EnabledControlParameterProperty.getKey()Sets the value ofCfnEnabledControl.EnabledControlParameterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnEnabledControl.EnabledControlParameterProperty.getKey()- Parameters:
key- The key of a key/value pair. This parameter is required. It is of typestring.- Returns:
this
-
value
@Stability(Stable) public CfnEnabledControl.EnabledControlParameterProperty.Builder value(Object value) Sets the value ofCfnEnabledControl.EnabledControlParameterProperty.getValue()- Parameters:
value- The value of a key/value pair. This parameter is required. It can be of typearray,string,number,object, orboolean. [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnabledControl.EnabledControlParameterProperty>- Returns:
- a new instance of
CfnEnabledControl.EnabledControlParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-