Class CfnDetectorModel.SetVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnDetectorModel.SetVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModel.SetVariableProperty>
- Enclosing interface:
CfnDetectorModel.SetVariableProperty
@Stability(Stable)
public static final class CfnDetectorModel.SetVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModel.SetVariableProperty>
A builder for
CfnDetectorModel.SetVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModel.SetVariableProperty.getValue()variableName(String variableName) Sets the value ofCfnDetectorModel.SetVariableProperty.getVariableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Sets the value ofCfnDetectorModel.SetVariableProperty.getValue()- Parameters:
value- The new value of the variable. This parameter is required.- Returns:
this
-
variableName
@Stability(Stable) public CfnDetectorModel.SetVariableProperty.Builder variableName(String variableName) Sets the value ofCfnDetectorModel.SetVariableProperty.getVariableName()- Parameters:
variableName- The name of the variable. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.SetVariableProperty>- Returns:
- a new instance of
CfnDetectorModel.SetVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-