Class TableOptimizerConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TableOptimizerConfiguration.Builder,
TableOptimizerConfiguration>
Contains details on the configuration of a table optimizer. You pass this configuration when creating or updating a table optimizer.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final CompactionConfiguration
The configuration for a compaction optimizer.final Boolean
enabled()
Whether table optimization is enabled.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
The configuration for an orphan file deletion optimizer.final RetentionConfiguration
The configuration for a snapshot retention optimizer.final String
roleArn()
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.static Class
<? extends TableOptimizerConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.ATableOptimizerVpcConfiguration
object representing the VPC configuration for a table optimizer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
roleArn
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- Returns:
- A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
-
enabled
Whether table optimization is enabled.
- Returns:
- Whether table optimization is enabled.
-
vpcConfiguration
A
TableOptimizerVpcConfiguration
object representing the VPC configuration for a table optimizer.This configuration is necessary to perform optimization on tables that are in a customer VPC.
- Returns:
- A
TableOptimizerVpcConfiguration
object representing the VPC configuration for a table optimizer.This configuration is necessary to perform optimization on tables that are in a customer VPC.
-
compactionConfiguration
The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- Returns:
- The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
-
retentionConfiguration
The configuration for a snapshot retention optimizer.
- Returns:
- The configuration for a snapshot retention optimizer.
-
orphanFileDeletionConfiguration
The configuration for an orphan file deletion optimizer.
- Returns:
- The configuration for an orphan file deletion optimizer.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TableOptimizerConfiguration.Builder,
TableOptimizerConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-