Class CfnCommandPropsMixin.CommandParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnCommandPropsMixin.CommandParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCommandPropsMixin.CommandParameterProperty>
- Enclosing interface:
CfnCommandPropsMixin.CommandParameterProperty
@Stability(Stable)
public static final class CfnCommandPropsMixin.CommandParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCommandPropsMixin.CommandParameterProperty>
A builder for
CfnCommandPropsMixin.CommandParameterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getDefaultValue()defaultValue(IResolvable defaultValue) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getDefaultValue()description(String description) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getDescription()Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getName()Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getType()Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValue()value(IResolvable value) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValue()valueConditions(List<? extends Object> valueConditions) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValueConditions()valueConditions(IResolvable valueConditions) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValueConditions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder defaultValue(IResolvable defaultValue) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getDefaultValue()- Parameters:
defaultValue- the value to be set.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder defaultValue(CfnCommandPropsMixin.CommandParameterValueProperty defaultValue) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getDefaultValue()- Parameters:
defaultValue- the value to be set.- Returns:
this
-
description
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder description(String description) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
name
Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getName()- Parameters:
name- the value to be set.- Returns:
this
-
type
Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getType()- Parameters:
type- the value to be set.- Returns:
this
-
value
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder value(IResolvable value) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
value
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder value(CfnCommandPropsMixin.CommandParameterValueProperty value) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
valueConditions
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder valueConditions(IResolvable valueConditions) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValueConditions()- Parameters:
valueConditions- the value to be set.- Returns:
this
-
valueConditions
@Stability(Stable) public CfnCommandPropsMixin.CommandParameterProperty.Builder valueConditions(List<? extends Object> valueConditions) Sets the value ofCfnCommandPropsMixin.CommandParameterProperty.getValueConditions()- Parameters:
valueConditions- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCommandPropsMixin.CommandParameterProperty>- Returns:
- a new instance of
CfnCommandPropsMixin.CommandParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-