Interface SnaplockRetentionPeriod.Builder

    • Method Detail

      • defaultRetention

        SnaplockRetentionPeriod.Builder defaultRetention​(RetentionPeriod defaultRetention)

        The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period.

        Parameters:
        defaultRetention - The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumRetention

        SnaplockRetentionPeriod.Builder minimumRetention​(RetentionPeriod minimumRetention)

        The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.

        Parameters:
        minimumRetention - The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumRetention

        SnaplockRetentionPeriod.Builder maximumRetention​(RetentionPeriod maximumRetention)

        The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.

        Parameters:
        maximumRetention - The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.