@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionMapping extends Object implements Serializable, Cloneable, StructuredPojo
This type is used to map column(s) from the query result to a dimension in the destination table.
| Constructor and Description |
|---|
DimensionMapping() |
| Modifier and Type | Method and Description |
|---|---|
DimensionMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionValueType()
Type for the dimension.
|
String |
getName()
Column name from query result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDimensionValueType(String dimensionValueType)
Type for the dimension.
|
void |
setName(String name)
Column name from query result.
|
String |
toString()
Returns a string representation of this object.
|
DimensionMapping |
withDimensionValueType(DimensionValueType dimensionValueType)
Type for the dimension.
|
DimensionMapping |
withDimensionValueType(String dimensionValueType)
Type for the dimension.
|
DimensionMapping |
withName(String name)
Column name from query result.
|
public void setName(String name)
Column name from query result.
name - Column name from query result.public String getName()
Column name from query result.
public DimensionMapping withName(String name)
Column name from query result.
name - Column name from query result.public void setDimensionValueType(String dimensionValueType)
Type for the dimension.
dimensionValueType - Type for the dimension.DimensionValueTypepublic String getDimensionValueType()
Type for the dimension.
DimensionValueTypepublic DimensionMapping withDimensionValueType(String dimensionValueType)
Type for the dimension.
dimensionValueType - Type for the dimension.DimensionValueTypepublic DimensionMapping withDimensionValueType(DimensionValueType dimensionValueType)
Type for the dimension.
dimensionValueType - Type for the dimension.DimensionValueTypepublic String toString()
toString in class ObjectObject.toString()public DimensionMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.