Interface CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnCampaignPropsMixin
@Stability(Stable)
public static interface CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Size, time, and location options for the data partition.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.*;
DataPartitionStorageOptionsProperty dataPartitionStorageOptionsProperty = DataPartitionStorageOptionsProperty.builder()
.maximumSize(StorageMaximumSizeProperty.builder()
.unit("unit")
.value(123)
.build())
.minimumTimeToLive(StorageMinimumTimeToLiveProperty.builder()
.unit("unit")
.value(123)
.build())
.storageLocation("storageLocation")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnCampaignPropsMixin.DataPartitionStorageOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe maximum storage size of the data stored in the data partition.default ObjectThe amount of time that data in this partition will be kept on disk.default StringThe folder name for the data partition under the campaign storage folder.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaximumSize
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 union: either
IResolvableorCfnCampaignPropsMixin.StorageMaximumSizeProperty- See Also:
-
getMinimumTimeToLive
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 union: either
IResolvableorCfnCampaignPropsMixin.StorageMinimumTimeToLiveProperty- See Also:
-
getStorageLocation
The folder name for the data partition under the campaign storage folder.- See Also:
-
builder
@Stability(Stable) static CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder builder()
-