Class CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty>
- Enclosing interface:
CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maximumSize(IResolvable maximumSize) minimumTimeToLive(CfnCampaignPropsMixin.StorageMinimumTimeToLiveProperty minimumTimeToLive) minimumTimeToLive(IResolvable minimumTimeToLive) storageLocation(String storageLocation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumSize
@Stability(Stable) public CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder maximumSize(IResolvable maximumSize) - 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:
this
-
maximumSize
@Stability(Stable) public CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder maximumSize(CfnCampaignPropsMixin.StorageMaximumSizeProperty maximumSize) - 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:
this
-
minimumTimeToLive
@Stability(Stable) public CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder minimumTimeToLive(IResolvable minimumTimeToLive) - 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:
this
-
minimumTimeToLive
@Stability(Stable) public CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder minimumTimeToLive(CfnCampaignPropsMixin.StorageMinimumTimeToLiveProperty minimumTimeToLive) - 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:
this
-
storageLocation
@Stability(Stable) public CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty.Builder storageLocation(String storageLocation) - Parameters:
storageLocation- The folder name for the data partition under the campaign storage folder.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.DataPartitionStorageOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-