Class CfnDataset.VariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.VariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.VariableProperty>
- Enclosing interface:
- CfnDataset.VariableProperty
@Stability(Stable)
public static final class CfnDataset.VariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.VariableProperty>
A builder for
CfnDataset.VariableProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.datasetContentVersionValue
(IResolvable datasetContentVersionValue) Sets the value ofCfnDataset.VariableProperty.getDatasetContentVersionValue()
datasetContentVersionValue
(CfnDataset.DatasetContentVersionValueProperty datasetContentVersionValue) Sets the value ofCfnDataset.VariableProperty.getDatasetContentVersionValue()
doubleValue
(Number doubleValue) Sets the value ofCfnDataset.VariableProperty.getDoubleValue()
outputFileUriValue
(IResolvable outputFileUriValue) Sets the value ofCfnDataset.VariableProperty.getOutputFileUriValue()
outputFileUriValue
(CfnDataset.OutputFileUriValueProperty outputFileUriValue) Sets the value ofCfnDataset.VariableProperty.getOutputFileUriValue()
stringValue
(String stringValue) Sets the value ofCfnDataset.VariableProperty.getStringValue()
variableName
(String variableName) Sets the value ofCfnDataset.VariableProperty.getVariableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
variableName
Sets the value ofCfnDataset.VariableProperty.getVariableName()
- Parameters:
variableName
- The name of the variable. This parameter is required.- Returns:
this
-
datasetContentVersionValue
@Stability(Stable) public CfnDataset.VariableProperty.Builder datasetContentVersionValue(IResolvable datasetContentVersionValue) Sets the value ofCfnDataset.VariableProperty.getDatasetContentVersionValue()
- Parameters:
datasetContentVersionValue
- The value of the variable as a structure that specifies a dataset content version.- Returns:
this
-
datasetContentVersionValue
@Stability(Stable) public CfnDataset.VariableProperty.Builder datasetContentVersionValue(CfnDataset.DatasetContentVersionValueProperty datasetContentVersionValue) Sets the value ofCfnDataset.VariableProperty.getDatasetContentVersionValue()
- Parameters:
datasetContentVersionValue
- The value of the variable as a structure that specifies a dataset content version.- Returns:
this
-
doubleValue
Sets the value ofCfnDataset.VariableProperty.getDoubleValue()
- Parameters:
doubleValue
- The value of the variable as a double (numeric).- Returns:
this
-
outputFileUriValue
@Stability(Stable) public CfnDataset.VariableProperty.Builder outputFileUriValue(IResolvable outputFileUriValue) Sets the value ofCfnDataset.VariableProperty.getOutputFileUriValue()
- Parameters:
outputFileUriValue
- The value of the variable as a structure that specifies an output file URI.- Returns:
this
-
outputFileUriValue
@Stability(Stable) public CfnDataset.VariableProperty.Builder outputFileUriValue(CfnDataset.OutputFileUriValueProperty outputFileUriValue) Sets the value ofCfnDataset.VariableProperty.getOutputFileUriValue()
- Parameters:
outputFileUriValue
- The value of the variable as a structure that specifies an output file URI.- Returns:
this
-
stringValue
Sets the value ofCfnDataset.VariableProperty.getStringValue()
- Parameters:
stringValue
- The value of the variable as a string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.VariableProperty>
- Returns:
- a new instance of
CfnDataset.VariableProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-