Interface RetentionPeriod.Builder

    • Method Detail

      • numberOfDays

        RetentionPeriod.Builder numberOfDays​(Integer numberOfDays)

        The number of days that your data is kept.

        If you specified a value for this parameter, the unlimited parameter must be false.

        Parameters:
        numberOfDays - The number of days that your data is kept.

        If you specified a value for this parameter, the unlimited parameter must be false.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unlimited

        RetentionPeriod.Builder unlimited​(Boolean unlimited)

        If true, your data is kept indefinitely.

        If configured to true, you must not specify a value for the numberOfDays parameter.

        Parameters:
        unlimited - If true, your data is kept indefinitely.

        If configured to true, you must not specify a value for the numberOfDays parameter.

        Returns:
        Returns a reference to this object so that method calls can be chained together.