Interface ArchiveRetention.Builder

    • Method Detail

      • retentionPeriod

        ArchiveRetention.Builder retentionPeriod​(String retentionPeriod)

        The enum value sets the period for retaining emails in an archive.

        Parameters:
        retentionPeriod - The enum value sets the period for retaining emails in an archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RetentionPeriod, RetentionPeriod
      • retentionPeriod

        ArchiveRetention.Builder retentionPeriod​(RetentionPeriod retentionPeriod)

        The enum value sets the period for retaining emails in an archive.

        Parameters:
        retentionPeriod - The enum value sets the period for retaining emails in an archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RetentionPeriod, RetentionPeriod