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 Details

    • 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 DAYS is supported.

      Parameters:
      retentionPeriodUnit - The unit of time in which the retention period is measured. Currently, only DAYS is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • retentionPeriodUnit

      RetentionPeriod.Builder retentionPeriodUnit(RetentionPeriodUnit retentionPeriodUnit)

      The unit of time in which the retention period is measured. Currently, only DAYS is supported.

      Parameters:
      retentionPeriodUnit - The unit of time in which the retention period is measured. Currently, only DAYS is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: