Interface CfnDataset.RetentionPeriodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataset.RetentionPeriodProperty.Jsii$Proxy
- Enclosing class:
CfnDataset
@Stability(Stable)
public static interface CfnDataset.RetentionPeriodProperty
extends software.amazon.jsii.JsiiSerializable
How long, in days, message data is kept.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotanalytics.*; RetentionPeriodProperty retentionPeriodProperty = RetentionPeriodProperty.builder() .numberOfDays(123) .unlimited(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataset.RetentionPeriodProperty
static final class
An implementation forCfnDataset.RetentionPeriodProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNumberOfDays
The number of days that message data is kept.The
unlimited
parameter must be false.- See Also:
-
getUnlimited
If true, message data is kept indefinitely.- See Also:
-
builder
-