@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.
|
String |
getSubType()
The sub data type of the new column.
|
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.
|
void |
setSubType(String subType)
The sub data type of the new column.
|
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.
|
CastColumnTypeOperation |
withSubType(ColumnDataSubType subType)
The sub data type of the new column.
|
CastColumnTypeOperation |
withSubType(String subType)
The sub data type of the new column.
|
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.ColumnDataType
public String getNewColumnType()
New column data type.
ColumnDataType
public CastColumnTypeOperation withNewColumnType(String newColumnType)
New column data type.
newColumnType
- New column data type.ColumnDataType
public CastColumnTypeOperation withNewColumnType(ColumnDataType newColumnType)
New column data type.
newColumnType
- New column data type.ColumnDataType
public void setSubType(String subType)
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
subType
- The sub data type of the new column. Sub types are only available for decimal columns that are part of a
SPICE dataset.ColumnDataSubType
public String getSubType()
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
ColumnDataSubType
public CastColumnTypeOperation withSubType(String subType)
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
subType
- The sub data type of the new column. Sub types are only available for decimal columns that are part of a
SPICE dataset.ColumnDataSubType
public CastColumnTypeOperation withSubType(ColumnDataSubType subType)
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
subType
- The sub data type of the new column. Sub types are only available for decimal columns that are part of a
SPICE dataset.ColumnDataSubType
public 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 Object
Object.toString()
public CastColumnTypeOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.