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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetentionPeriod.BuilderretentionPeriodUnit(String retentionPeriodUnit)The unit of time in which the retention period is measured.RetentionPeriod.BuilderretentionPeriodUnit(RetentionPeriodUnit retentionPeriodUnit)The unit of time in which the retention period is measured.RetentionPeriod.BuilderretentionPeriodValue(Integer retentionPeriodValue)The period value for which the retention rule is to retain resources.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
retentionPeriodValue
RetentionPeriod.Builder retentionPeriodValue(Integer 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
RetentionPeriod.Builder retentionPeriodUnit(String 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,RetentionPeriodUnit
-
retentionPeriodUnit
RetentionPeriod.Builder retentionPeriodUnit(RetentionPeriodUnit 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,RetentionPeriodUnit
-
-