Interface RetentionPeriod.Builder

    • 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 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, RetentionPeriodUnit
      • 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:
        RetentionPeriodUnit, RetentionPeriodUnit