Interface RetentionPeriod.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RetentionPeriod.Builder,,RetentionPeriod> SdkBuilder<RetentionPeriod.Builder,,RetentionPeriod> SdkPojo
- Enclosing class:
RetentionPeriod
public static interface RetentionPeriod.Builder
extends SdkPojo, CopyableBuilder<RetentionPeriod.Builder,RetentionPeriod>
-
Method Summary
Modifier and TypeMethodDescriptionretentionPeriodUnit(String retentionPeriodUnit) The unit of time in which the retention period is measured.retentionPeriodUnit(RetentionPeriodUnit retentionPeriodUnit) The unit of time in which the retention period is measured.retentionPeriodValue(Integer retentionPeriodValue) The period value for which the retention rule is to retain resources.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
retentionPeriodValue
The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
- Parameters:
retentionPeriodValue- The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriodUnit
The unit of time in which the retention period is measured. Currently, only
DAYSis supported.- Parameters:
retentionPeriodUnit- The unit of time in which the retention period is measured. Currently, onlyDAYSis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionPeriodUnit
The unit of time in which the retention period is measured. Currently, only
DAYSis supported.- Parameters:
retentionPeriodUnit- The unit of time in which the retention period is measured. Currently, onlyDAYSis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-