Class CastColumnTypeOperation
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.CastColumnTypeOperation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CastColumnTypeOperation.Builder,CastColumnTypeOperation>
@Generated("software.amazon.awssdk:codegen") public final class CastColumnTypeOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CastColumnTypeOperation.Builder,CastColumnTypeOperation>
A transform operation that casts a column to a different type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCastColumnTypeOperation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CastColumnTypeOperation.Builderbuilder()StringcolumnName()Column name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringformat()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.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ColumnDataTypenewColumnType()New column data type.StringnewColumnTypeAsString()New column data type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CastColumnTypeOperation.Builder>serializableBuilderClass()ColumnDataSubTypesubType()The sub data type of the new column.StringsubTypeAsString()The sub data type of the new column.CastColumnTypeOperation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
columnName
public final String columnName()
Column name.
- Returns:
- Column name.
-
newColumnType
public final ColumnDataType newColumnType()
New column data type.
If the service returns an enum value that is not available in the current SDK version,
newColumnTypewill returnColumnDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnewColumnTypeAsString().- Returns:
- New column data type.
- See Also:
ColumnDataType
-
newColumnTypeAsString
public final String newColumnTypeAsString()
New column data type.
If the service returns an enum value that is not available in the current SDK version,
newColumnTypewill returnColumnDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnewColumnTypeAsString().- Returns:
- New column data type.
- See Also:
ColumnDataType
-
subType
public final 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.
If the service returns an enum value that is not available in the current SDK version,
subTypewill returnColumnDataSubType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubTypeAsString().- Returns:
- The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
- See Also:
ColumnDataSubType
-
subTypeAsString
public final String subTypeAsString()
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
If the service returns an enum value that is not available in the current SDK version,
subTypewill returnColumnDataSubType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubTypeAsString().- Returns:
- The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
- See Also:
ColumnDataSubType
-
format
public final 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.
- Returns:
- 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.
-
toBuilder
public CastColumnTypeOperation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CastColumnTypeOperation.Builder,CastColumnTypeOperation>
-
builder
public static CastColumnTypeOperation.Builder builder()
-
serializableBuilderClass
public static Class<? extends CastColumnTypeOperation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-