Interface RecordExpiration.Builder

    • Method Detail

      • expiration

        RecordExpiration.Builder expiration​(String expiration)

        Specifies whether journal table record expiration is enabled or disabled.

        Parameters:
        expiration - Specifies whether journal table record expiration is enabled or disabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExpirationState, ExpirationState
      • expiration

        RecordExpiration.Builder expiration​(ExpirationState expiration)

        Specifies whether journal table record expiration is enabled or disabled.

        Parameters:
        expiration - Specifies whether journal table record expiration is enabled or disabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExpirationState, ExpirationState
      • days

        RecordExpiration.Builder days​(Integer days)

        If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.

        Parameters:
        days - If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.
        Returns:
        Returns a reference to this object so that method calls can be chained together.