Class DataPartitionStorageOptions
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.DataPartitionStorageOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataPartitionStorageOptions.Builder,DataPartitionStorageOptions>
@Generated("software.amazon.awssdk:codegen") public final class DataPartitionStorageOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataPartitionStorageOptions.Builder,DataPartitionStorageOptions>
Size, time, and location options for the data partition.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataPartitionStorageOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataPartitionStorageOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StorageMaximumSizemaximumSize()The maximum storage size of the data stored in the data partition.StorageMinimumTimeToLiveminimumTimeToLive()The amount of time that data in this partition will be kept on disk.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DataPartitionStorageOptions.Builder>serializableBuilderClass()StringstorageLocation()The folder name for the data partition under the campaign storage folder.DataPartitionStorageOptions.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
-
maximumSize
public final StorageMaximumSize maximumSize()
The maximum storage size of the data stored in the data partition.
Newer data overwrites older data when the partition reaches the maximum size.
- Returns:
- The maximum storage size of the data stored in the data partition.
Newer data overwrites older data when the partition reaches the maximum size.
-
storageLocation
public final String storageLocation()
The folder name for the data partition under the campaign storage folder.
- Returns:
- The folder name for the data partition under the campaign storage folder.
-
minimumTimeToLive
public final StorageMinimumTimeToLive minimumTimeToLive()
The amount of time that data in this partition will be kept on disk.
-
After the designated amount of time passes, the data can be removed, but it's not guaranteed to be removed.
-
Before the time expires, data in this partition can still be deleted if the partition reaches its configured maximum size.
-
Newer data will overwrite older data when the partition reaches the maximum size.
- Returns:
- The amount of time that data in this partition will be kept on disk.
-
After the designated amount of time passes, the data can be removed, but it's not guaranteed to be removed.
-
Before the time expires, data in this partition can still be deleted if the partition reaches its configured maximum size.
-
Newer data will overwrite older data when the partition reaches the maximum size.
-
-
-
toBuilder
public DataPartitionStorageOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataPartitionStorageOptions.Builder,DataPartitionStorageOptions>
-
builder
public static DataPartitionStorageOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataPartitionStorageOptions.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
-
-