Interface StorageOptimizer.Builder

    • Method Detail

      • storageOptimizerType

        StorageOptimizer.Builder storageOptimizerType​(String storageOptimizerType)

        The specific type of storage optimizer. The supported value is compaction.

        Parameters:
        storageOptimizerType - The specific type of storage optimizer. The supported value is compaction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OptimizerType, OptimizerType
      • storageOptimizerType

        StorageOptimizer.Builder storageOptimizerType​(OptimizerType storageOptimizerType)

        The specific type of storage optimizer. The supported value is compaction.

        Parameters:
        storageOptimizerType - The specific type of storage optimizer. The supported value is compaction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OptimizerType, OptimizerType
      • config

        StorageOptimizer.Builder config​(Map<String,​String> config)

        A map of the storage optimizer configuration. Currently contains only one key-value pair: is_enabled indicates true or false for acceleration.

        Parameters:
        config - A map of the storage optimizer configuration. Currently contains only one key-value pair: is_enabled indicates true or false for acceleration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        StorageOptimizer.Builder errorMessage​(String errorMessage)

        A message that contains information about any error (if present).

        When an acceleration result has an enabled status, the error message is empty.

        When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".

        Parameters:
        errorMessage - A message that contains information about any error (if present).

        When an acceleration result has an enabled status, the error message is empty.

        When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".

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

        StorageOptimizer.Builder warnings​(String warnings)

        A message that contains information about any warnings (if present).

        Parameters:
        warnings - A message that contains information about any warnings (if present).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastRunDetails

        StorageOptimizer.Builder lastRunDetails​(String lastRunDetails)

        When an acceleration result has an enabled status, contains the details of the last job run.

        Parameters:
        lastRunDetails - When an acceleration result has an enabled status, contains the details of the last job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.