@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CastColumnTypeOperation extends Object implements Serializable, Cloneable, StructuredPojo
A transform operation that casts a column to a different type.
| Constructor and Description |
|---|
CastColumnTypeOperation() |
| Modifier and Type | Method and Description |
|---|---|
CastColumnTypeOperation |
clone() |
boolean |
equals(Object obj) |
String |
getColumnName()
Column name.
|
String |
getFormat()
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon
QuickSight to denote the source data format.
|
String |
getNewColumnType()
New column data type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setColumnName(String columnName)
Column name.
|
void |
setFormat(String format)
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon
QuickSight to denote the source data format.
|
void |
setNewColumnType(String newColumnType)
New column data type.
|
String |
toString()
Returns a string representation of this object.
|
CastColumnTypeOperation |
withColumnName(String columnName)
Column name.
|
CastColumnTypeOperation |
withFormat(String format)
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon
QuickSight to denote the source data format.
|
CastColumnTypeOperation |
withNewColumnType(ColumnDataType newColumnType)
New column data type.
|
CastColumnTypeOperation |
withNewColumnType(String newColumnType)
New column data type.
|
public void setColumnName(String columnName)
Column name.
columnName - Column name.public String getColumnName()
Column name.
public CastColumnTypeOperation withColumnName(String columnName)
Column name.
columnName - Column name.public void setNewColumnType(String newColumnType)
New column data type.
newColumnType - New column data type.ColumnDataTypepublic String getNewColumnType()
New column data type.
ColumnDataTypepublic CastColumnTypeOperation withNewColumnType(String newColumnType)
New column data type.
newColumnType - New column data type.ColumnDataTypepublic CastColumnTypeOperation withNewColumnType(ColumnDataType newColumnType)
New column data type.
newColumnType - New column data type.ColumnDataTypepublic void setFormat(String format)
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
format - When casting a column from string to datetime type, you can supply a string in a format supported by
Amazon QuickSight to denote the source data format.public String getFormat()
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
public CastColumnTypeOperation withFormat(String format)
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
format - When casting a column from string to datetime type, you can supply a string in a format supported by
Amazon QuickSight to denote the source data format.public String toString()
toString in class ObjectObject.toString()public CastColumnTypeOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.