Class CfnEnabledControlPropsMixin.EnabledControlParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.controltower.mixins.CfnEnabledControlPropsMixin.EnabledControlParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnabledControlPropsMixin.EnabledControlParameterProperty>
- Enclosing interface:
CfnEnabledControlPropsMixin.EnabledControlParameterProperty
@Stability(Stable)
public static final class CfnEnabledControlPropsMixin.EnabledControlParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnabledControlPropsMixin.EnabledControlParameterProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEnabledControlPropsMixin.EnabledControlParameterProperty.getKey()Sets the value ofCfnEnabledControlPropsMixin.EnabledControlParameterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnEnabledControlPropsMixin.EnabledControlParameterProperty.Builder key(String key) Sets the value ofCfnEnabledControlPropsMixin.EnabledControlParameterProperty.getKey()- Parameters:
key- The key of a key/value pair. It is of typestring.- Returns:
this
-
value
@Stability(Stable) public CfnEnabledControlPropsMixin.EnabledControlParameterProperty.Builder value(Object value) Sets the value ofCfnEnabledControlPropsMixin.EnabledControlParameterProperty.getValue()- Parameters:
value- The value of a key/value pair. 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<CfnEnabledControlPropsMixin.EnabledControlParameterProperty>- Returns:
- a new instance of
CfnEnabledControlPropsMixin.EnabledControlParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-