Class IcebergSnapshotManagementSettings
- java.lang.Object
-
- software.amazon.awssdk.services.s3tables.model.IcebergSnapshotManagementSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IcebergSnapshotManagementSettings.Builder,IcebergSnapshotManagementSettings>
@Generated("software.amazon.awssdk:codegen") public final class IcebergSnapshotManagementSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IcebergSnapshotManagementSettings.Builder,IcebergSnapshotManagementSettings>
Contains details about the snapshot management settings for an Iceberg table. The oldest snapshot expires when its age exceeds the
maxSnapshotAgeHoursand the total number of snapshots exceeds the value for the minimum number of snapshots to keepminSnapshotsToKeep.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIcebergSnapshotManagementSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IcebergSnapshotManagementSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxSnapshotAgeHours()The maximum age of a snapshot before it can be expired.IntegerminSnapshotsToKeep()The minimum number of snapshots to keep.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IcebergSnapshotManagementSettings.Builder>serializableBuilderClass()IcebergSnapshotManagementSettings.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
-
minSnapshotsToKeep
public final Integer minSnapshotsToKeep()
The minimum number of snapshots to keep.
- Returns:
- The minimum number of snapshots to keep.
-
maxSnapshotAgeHours
public final Integer maxSnapshotAgeHours()
The maximum age of a snapshot before it can be expired.
- Returns:
- The maximum age of a snapshot before it can be expired.
-
toBuilder
public IcebergSnapshotManagementSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IcebergSnapshotManagementSettings.Builder,IcebergSnapshotManagementSettings>
-
builder
public static IcebergSnapshotManagementSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends IcebergSnapshotManagementSettings.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
-
-