Class CfnPipe.DimensionMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.DimensionMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.DimensionMappingProperty>
- Enclosing interface:
CfnPipe.DimensionMappingProperty
@Stability(Stable)
public static final class CfnPipe.DimensionMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.DimensionMappingProperty>
A builder for
CfnPipe.DimensionMappingProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dimensionName
(String dimensionName) Sets the value ofCfnPipe.DimensionMappingProperty.getDimensionName()
dimensionValue
(String dimensionValue) Sets the value ofCfnPipe.DimensionMappingProperty.getDimensionValue()
dimensionValueType
(String dimensionValueType) Sets the value ofCfnPipe.DimensionMappingProperty.getDimensionValueType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionName
@Stability(Stable) public CfnPipe.DimensionMappingProperty.Builder dimensionName(String dimensionName) Sets the value ofCfnPipe.DimensionMappingProperty.getDimensionName()
- Parameters:
dimensionName
- The metadata attributes of the time series. This parameter is required. 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 CfnPipe.DimensionMappingProperty.Builder dimensionValue(String dimensionValue) Sets the value ofCfnPipe.DimensionMappingProperty.getDimensionValue()
- Parameters:
dimensionValue
- Dynamic path to the dimension value in the source event. This parameter is required.- Returns:
this
-
dimensionValueType
@Stability(Stable) public CfnPipe.DimensionMappingProperty.Builder dimensionValueType(String dimensionValueType) Sets the value ofCfnPipe.DimensionMappingProperty.getDimensionValueType()
- Parameters:
dimensionValueType
- The data type of the dimension for the time-series data. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.DimensionMappingProperty>
- Returns:
- a new instance of
CfnPipe.DimensionMappingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-