Interface MixedMeasureMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MixedMeasureMapping.Builder,MixedMeasureMapping>,SdkBuilder<MixedMeasureMapping.Builder,MixedMeasureMapping>,SdkPojo
- Enclosing class:
- MixedMeasureMapping
public static interface MixedMeasureMapping.Builder extends SdkPojo, CopyableBuilder<MixedMeasureMapping.Builder,MixedMeasureMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MixedMeasureMapping.BuildermeasureName(String measureName)Refers to the value of measure_name in a result row.MixedMeasureMapping.BuildermeasureValueType(String measureValueType)Type of the value that is to be read from sourceColumn.MixedMeasureMapping.BuildermeasureValueType(MeasureValueType measureValueType)Type of the value that is to be read from sourceColumn.MixedMeasureMapping.BuildermultiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)Required when measureValueType is MULTI.MixedMeasureMapping.BuildermultiMeasureAttributeMappings(Consumer<MultiMeasureAttributeMapping.Builder>... multiMeasureAttributeMappings)Required when measureValueType is MULTI.MixedMeasureMapping.BuildermultiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings)Required when measureValueType is MULTI.MixedMeasureMapping.BuildersourceColumn(String sourceColumn)This field refers to the source column from which measure-value is to be read for result materialization.MixedMeasureMapping.BuildertargetMeasureName(String targetMeasureName)Target measure name to be used.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
measureName
MixedMeasureMapping.Builder measureName(String 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
MixedMeasureMapping.Builder sourceColumn(String 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
MixedMeasureMapping.Builder targetMeasureName(String 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
MixedMeasureMapping.Builder measureValueType(String 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,MeasureValueType
-
measureValueType
MixedMeasureMapping.Builder measureValueType(MeasureValueType 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,MeasureValueType
-
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 to#multiMeasureAttributeMappings(List.) - 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:
#multiMeasureAttributeMappings(java.util.Collection)
-
-