Interface CfnRule.RetentionPeriodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.RetentionPeriodProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.RetentionPeriodProperty
extends software.amazon.jsii.JsiiSerializable
The retention period of the rule.
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.rbin.*;
RetentionPeriodProperty retentionPeriodProperty = RetentionPeriodProperty.builder()
.retentionPeriodUnit("retentionPeriodUnit")
.retentionPeriodValue(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRule.RetentionPeriodPropertystatic final classAn implementation forCfnRule.RetentionPeriodProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The retention period unit of the rule.The retention period value of the rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRetentionPeriodUnit
The retention period unit of the rule.- See Also:
-
getRetentionPeriodValue
The retention period value of the rule.- See Also:
-
builder
-