Interface MixedMeasureMapping.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MixedMeasureMapping.Builder,,MixedMeasureMapping> SdkBuilder<MixedMeasureMapping.Builder,,MixedMeasureMapping> SdkPojo
- Enclosing class:
MixedMeasureMapping
-
Method Summary
Modifier and TypeMethodDescriptionmeasureName(String measureName) Refers to the value of measure_name in a result row.measureValueType(String measureValueType) Type of the value that is to be read from sourceColumn.measureValueType(MeasureValueType measureValueType) Type of the value that is to be read from sourceColumn.multiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings) Required when measureValueType is MULTI.multiMeasureAttributeMappings(Consumer<MultiMeasureAttributeMapping.Builder>... multiMeasureAttributeMappings) Required when measureValueType is MULTI.multiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings) Required when measureValueType is MULTI.sourceColumn(String sourceColumn) This field refers to the source column from which measure-value is to be read for result materialization.targetMeasureName(String targetMeasureName) Target measure name to be used.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
measureName
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
- Parameters:
measureName- Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceColumn
This field refers to the source column from which measure-value is to be read for result materialization.
- Parameters:
sourceColumn- This field refers to the source column from which measure-value is to be read for result materialization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMeasureName
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
- Parameters:
targetMeasureName- Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
measureValueType
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
- Parameters:
measureValueType- Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
measureValueType
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
- Parameters:
measureValueType- Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiMeasureAttributeMappings
MixedMeasureMapping.Builder multiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings) Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
- Parameters:
multiMeasureAttributeMappings- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiMeasureAttributeMappings
MixedMeasureMapping.Builder multiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings) Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
- Parameters:
multiMeasureAttributeMappings- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiMeasureAttributeMappings
MixedMeasureMapping.Builder multiMeasureAttributeMappings(Consumer<MultiMeasureAttributeMapping.Builder>... multiMeasureAttributeMappings) Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
This is a convenience method that creates an instance of theMultiMeasureAttributeMapping.Builderavoiding the need to create one manually viaMultiMeasureAttributeMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiMeasureAttributeMappings(List<MultiMeasureAttributeMapping>).- Parameters:
multiMeasureAttributeMappings- a consumer that will call methods onMultiMeasureAttributeMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-