Class CfnExperimentDefinition.AttributeValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExperimentDefinition.AttributeValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentDefinition.AttributeValueProperty>
- Enclosing interface:
CfnExperimentDefinition.AttributeValueProperty
@Stability(Stable)
public static final class CfnExperimentDefinition.AttributeValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentDefinition.AttributeValueProperty>
A builder for
CfnExperimentDefinition.AttributeValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanValue(Boolean booleanValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getBooleanValue()booleanValue(IResolvable booleanValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getBooleanValue()build()Builds the configured instance.numberArray(List<? extends Number> numberArray) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getNumberArray()numberArray(IResolvable numberArray) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getNumberArray()numberValue(Number numberValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getNumberValue()stringArray(List<String> stringArray) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getStringArray()stringValue(String stringValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getStringValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanValue
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder booleanValue(Boolean booleanValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getBooleanValue()- Parameters:
booleanValue- A boolean value.- Returns:
this
-
booleanValue
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder booleanValue(IResolvable booleanValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getBooleanValue()- Parameters:
booleanValue- A boolean value.- Returns:
this
-
numberArray
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder numberArray(List<? extends Number> numberArray) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getNumberArray()- Parameters:
numberArray- An array of numeric values.- Returns:
this
-
numberArray
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder numberArray(IResolvable numberArray) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getNumberArray()- Parameters:
numberArray- An array of numeric values.- Returns:
this
-
numberValue
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder numberValue(Number numberValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getNumberValue()- Parameters:
numberValue- A numeric value.- Returns:
this
-
stringArray
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder stringArray(List<String> stringArray) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getStringArray()- Parameters:
stringArray- An array of string values.- Returns:
this
-
stringValue
@Stability(Stable) public CfnExperimentDefinition.AttributeValueProperty.Builder stringValue(String stringValue) Sets the value ofCfnExperimentDefinition.AttributeValueProperty.getStringValue()- Parameters:
stringValue- A string value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentDefinition.AttributeValueProperty>- Returns:
- a new instance of
CfnExperimentDefinition.AttributeValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-