Class CfnPipePropsMixin.DimensionMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.DimensionMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.DimensionMappingProperty>
- Enclosing interface:
CfnPipePropsMixin.DimensionMappingProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.DimensionMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.DimensionMappingProperty>
A builder for
CfnPipePropsMixin.DimensionMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensionName(String dimensionName) Sets the value ofCfnPipePropsMixin.DimensionMappingProperty.getDimensionName()dimensionValue(String dimensionValue) Sets the value ofCfnPipePropsMixin.DimensionMappingProperty.getDimensionValue()dimensionValueType(String dimensionValueType) Sets the value ofCfnPipePropsMixin.DimensionMappingProperty.getDimensionValueType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionName
@Stability(Stable) public CfnPipePropsMixin.DimensionMappingProperty.Builder dimensionName(String dimensionName) Sets the value ofCfnPipePropsMixin.DimensionMappingProperty.getDimensionName()- Parameters:
dimensionName- The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.- Returns:
this
-
dimensionValue
@Stability(Stable) public CfnPipePropsMixin.DimensionMappingProperty.Builder dimensionValue(String dimensionValue) Sets the value ofCfnPipePropsMixin.DimensionMappingProperty.getDimensionValue()- Parameters:
dimensionValue- Dynamic path to the dimension value in the source event.- Returns:
this
-
dimensionValueType
@Stability(Stable) public CfnPipePropsMixin.DimensionMappingProperty.Builder dimensionValueType(String dimensionValueType) Sets the value ofCfnPipePropsMixin.DimensionMappingProperty.getDimensionValueType()- Parameters:
dimensionValueType- The data type of the dimension for the time-series data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.DimensionMappingProperty>- Returns:
- a new instance of
CfnPipePropsMixin.DimensionMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-