Interface AutocommitPeriod.Builder

    • Method Detail

      • type

        AutocommitPeriod.Builder type​(String type)

        Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONE disables autocommit. The default value is NONE.

        Parameters:
        type - Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONE disables autocommit. The default value is NONE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutocommitPeriodType, AutocommitPeriodType
      • type

        AutocommitPeriod.Builder type​(AutocommitPeriodType type)

        Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONE disables autocommit. The default value is NONE.

        Parameters:
        type - Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONE disables autocommit. The default value is NONE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutocommitPeriodType, AutocommitPeriodType
      • value

        AutocommitPeriod.Builder value​(Integer value)

        Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. The following ranges are valid:

        • Minutes: 5 - 65,535

        • Hours: 1 - 65,535

        • Days: 1 - 3,650

        • Months: 1 - 120

        • Years: 1 - 10

        Parameters:
        value - Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. The following ranges are valid:

        • Minutes: 5 - 65,535

        • Hours: 1 - 65,535

        • Days: 1 - 3,650

        • Months: 1 - 120

        • Years: 1 - 10

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