Class TableOptimizer
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.TableOptimizer
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TableOptimizer.Builder,TableOptimizer>
@Generated("software.amazon.awssdk:codegen") public final class TableOptimizer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TableOptimizer.Builder,TableOptimizer>
Contains details about an optimizer associated with a table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTableOptimizer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableOptimizer.Builderbuilder()TableOptimizerConfigurationconfiguration()ATableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.ConfigurationSourceconfigurationSource()Specifies the source of the optimizer configuration.StringconfigurationSourceAsString()Specifies the source of the optimizer configuration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()TableOptimizerRunlastRun()ATableOptimizerRunobject representing the last run of the table optimizer.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TableOptimizer.Builder>serializableBuilderClass()TableOptimizer.BuildertoBuilder()StringtoString()Returns a string representation of this object.TableOptimizerTypetype()The type of table optimizer.StringtypeAsString()The type of table optimizer.-
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
-
type
public final TableOptimizerType type()
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTableOptimizerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
-
- See Also:
TableOptimizerType
-
-
typeAsString
public final String typeAsString()
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTableOptimizerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.
-
- See Also:
TableOptimizerType
-
-
configuration
public final TableOptimizerConfiguration configuration()
A
TableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.- Returns:
- A
TableOptimizerConfigurationobject that was specified when creating or updating a table optimizer.
-
lastRun
public final TableOptimizerRun lastRun()
A
TableOptimizerRunobject representing the last run of the table optimizer.- Returns:
- A
TableOptimizerRunobject representing the last run of the table optimizer.
-
configurationSource
public final ConfigurationSource configurationSource()
Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
If the service returns an enum value that is not available in the current SDK version,
configurationSourcewill returnConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationSourceAsString().- Returns:
- Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
- See Also:
ConfigurationSource
-
configurationSourceAsString
public final String configurationSourceAsString()
Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
If the service returns an enum value that is not available in the current SDK version,
configurationSourcewill returnConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationSourceAsString().- Returns:
- Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
- See Also:
ConfigurationSource
-
toBuilder
public TableOptimizer.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TableOptimizer.Builder,TableOptimizer>
-
builder
public static TableOptimizer.Builder builder()
-
serializableBuilderClass
public static Class<? extends TableOptimizer.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
-
-