Interface DataPartitionStorageOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataPartitionStorageOptions.Builder,
,DataPartitionStorageOptions> SdkBuilder<DataPartitionStorageOptions.Builder,
,DataPartitionStorageOptions> SdkPojo
- Enclosing class:
DataPartitionStorageOptions
-
Method Summary
Modifier and TypeMethodDescriptionmaximumSize
(Consumer<StorageMaximumSize.Builder> maximumSize) The maximum storage size of the data stored in the data partition.maximumSize
(StorageMaximumSize maximumSize) The maximum storage size of the data stored in the data partition.minimumTimeToLive
(Consumer<StorageMinimumTimeToLive.Builder> minimumTimeToLive) The amount of time that data in this partition will be kept on disk.minimumTimeToLive
(StorageMinimumTimeToLive minimumTimeToLive) The amount of time that data in this partition will be kept on disk.storageLocation
(String storageLocation) The folder name for the data partition under the campaign storage folder.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
maximumSize
default DataPartitionStorageOptions.Builder maximumSize(Consumer<StorageMaximumSize.Builder> 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.
StorageMaximumSize.Builder
avoiding the need to create one manually viaStorageMaximumSize.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaximumSize(StorageMaximumSize)
.- Parameters:
maximumSize
- a consumer that will call methods onStorageMaximumSize.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageLocation
The folder name for the data partition under the campaign storage folder.
- Parameters:
storageLocation
- The folder name for the data partition under the campaign storage folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
minimumTimeToLive
default DataPartitionStorageOptions.Builder minimumTimeToLive(Consumer<StorageMinimumTimeToLive.Builder> 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.
StorageMinimumTimeToLive.Builder
avoiding the need to create one manually viaStorageMinimumTimeToLive.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tominimumTimeToLive(StorageMinimumTimeToLive)
.- Parameters:
minimumTimeToLive
- a consumer that will call methods onStorageMinimumTimeToLive.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-