Class CfnPipeline.MathProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnPipeline.MathProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.MathProperty>
- Enclosing interface:
CfnPipeline.MathProperty
@Stability(Stable)
public static final class CfnPipeline.MathProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.MathProperty>
A builder for
CfnPipeline.MathProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipeline.MathProperty.getAttribute()
build()
Builds the configured instance.Sets the value ofCfnPipeline.MathProperty.getMath()
Sets the value ofCfnPipeline.MathProperty.getName()
Sets the value ofCfnPipeline.MathProperty.getNext()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attribute
Sets the value ofCfnPipeline.MathProperty.getAttribute()
- Parameters:
attribute
- The name of the attribute that contains the result of the math operation. This parameter is required.- Returns:
this
-
math
Sets the value ofCfnPipeline.MathProperty.getMath()
- Parameters:
math
- An expression that uses one or more existing attributes and must return an integer value. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPipeline.MathProperty.getName()
- Parameters:
name
- The name of the 'math' activity. This parameter is required.- Returns:
this
-
next
Sets the value ofCfnPipeline.MathProperty.getNext()
- Parameters:
next
- The next activity in the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.MathProperty>
- Returns:
- a new instance of
CfnPipeline.MathProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-