Class Settings


  • public final class Settings
    extends Object
    Common settings field for backup management.
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • timeZone

        public String timeZone()
        Get the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
        Returns:
        the timeZone value.
      • withTimeZone

        public Settings withTimeZone​(String timeZone)
        Set the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
        Parameters:
        timeZone - the timeZone value to set.
        Returns:
        the Settings object itself.
      • issqlcompression

        public Boolean issqlcompression()
        Get the issqlcompression property: SQL compression flag.
        Returns:
        the issqlcompression value.
      • withIssqlcompression

        public Settings withIssqlcompression​(Boolean issqlcompression)
        Set the issqlcompression property: SQL compression flag.
        Parameters:
        issqlcompression - the issqlcompression value to set.
        Returns:
        the Settings object itself.
      • isCompression

        public Boolean isCompression()
        Get the isCompression property: Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
        Returns:
        the isCompression value.
      • withIsCompression

        public Settings withIsCompression​(Boolean isCompression)
        Set the isCompression property: Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
        Parameters:
        isCompression - the isCompression value to set.
        Returns:
        the Settings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.