@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MixedMeasureMapping extends Object implements Serializable, Cloneable, StructuredPojo
MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
Constructor and Description |
---|
MixedMeasureMapping() |
Modifier and Type | Method and Description |
---|---|
MixedMeasureMapping |
clone() |
boolean |
equals(Object obj) |
String |
getMeasureName()
Refers to the value of measure_name in a result row.
|
String |
getMeasureValueType()
Type of the value that is to be read from sourceColumn.
|
List<MultiMeasureAttributeMapping> |
getMultiMeasureAttributeMappings()
Required when measureValueType is MULTI.
|
String |
getSourceColumn()
This field refers to the source column from which measure-value is to be read for result materialization.
|
String |
getTargetMeasureName()
Target measure name to be used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMeasureName(String measureName)
Refers to the value of measure_name in a result row.
|
void |
setMeasureValueType(String measureValueType)
Type of the value that is to be read from sourceColumn.
|
void |
setMultiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)
Required when measureValueType is MULTI.
|
void |
setSourceColumn(String sourceColumn)
This field refers to the source column from which measure-value is to be read for result materialization.
|
void |
setTargetMeasureName(String targetMeasureName)
Target measure name to be used.
|
String |
toString()
Returns a string representation of this object.
|
MixedMeasureMapping |
withMeasureName(String measureName)
Refers to the value of measure_name in a result row.
|
MixedMeasureMapping |
withMeasureValueType(MeasureValueType measureValueType)
Type of the value that is to be read from sourceColumn.
|
MixedMeasureMapping |
withMeasureValueType(String measureValueType)
Type of the value that is to be read from sourceColumn.
|
MixedMeasureMapping |
withMultiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)
Required when measureValueType is MULTI.
|
MixedMeasureMapping |
withMultiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings)
Required when measureValueType is MULTI.
|
MixedMeasureMapping |
withSourceColumn(String sourceColumn)
This field refers to the source column from which measure-value is to be read for result materialization.
|
MixedMeasureMapping |
withTargetMeasureName(String targetMeasureName)
Target measure name to be used.
|
public void setMeasureName(String measureName)
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
measureName
- Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is
provided.public String getMeasureName()
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
public MixedMeasureMapping withMeasureName(String measureName)
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
measureName
- Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is
provided.public void setSourceColumn(String sourceColumn)
This field refers to the source column from which measure-value is to be read for result materialization.
sourceColumn
- This field refers to the source column from which measure-value is to be read for result materialization.public String getSourceColumn()
This field refers to the source column from which measure-value is to be read for result materialization.
public MixedMeasureMapping withSourceColumn(String sourceColumn)
This field refers to the source column from which measure-value is to be read for result materialization.
sourceColumn
- This field refers to the source column from which measure-value is to be read for result materialization.public void setTargetMeasureName(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.
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.public String getTargetMeasureName()
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
public MixedMeasureMapping withTargetMeasureName(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.
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.public void setMeasureValueType(String measureValueType)
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
measureValueType
- Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use
MeasureValueType.MULTI.MeasureValueType
public String getMeasureValueType()
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
MeasureValueType
public MixedMeasureMapping withMeasureValueType(String measureValueType)
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
measureValueType
- Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use
MeasureValueType.MULTI.MeasureValueType
public MixedMeasureMapping withMeasureValueType(MeasureValueType measureValueType)
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
measureValueType
- Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use
MeasureValueType.MULTI.MeasureValueType
public List<MultiMeasureAttributeMapping> getMultiMeasureAttributeMappings()
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
public void setMultiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
multiMeasureAttributeMappings
- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.public MixedMeasureMapping withMultiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings)
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
NOTE: This method appends the values to the existing list (if any). Use
setMultiMeasureAttributeMappings(java.util.Collection)
or
withMultiMeasureAttributeMappings(java.util.Collection)
if you want to override the existing values.
multiMeasureAttributeMappings
- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.public MixedMeasureMapping withMultiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
multiMeasureAttributeMappings
- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.public String toString()
toString
in class Object
Object.toString()
public MixedMeasureMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.