Interface StorageOptimizer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageOptimizer.Builder,StorageOptimizer>,SdkBuilder<StorageOptimizer.Builder,StorageOptimizer>,SdkPojo
- Enclosing class:
- StorageOptimizer
public static interface StorageOptimizer.Builder extends SdkPojo, CopyableBuilder<StorageOptimizer.Builder,StorageOptimizer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageOptimizer.Builderconfig(Map<String,String> config)A map of the storage optimizer configuration.StorageOptimizer.BuildererrorMessage(String errorMessage)A message that contains information about any error (if present).StorageOptimizer.BuilderlastRunDetails(String lastRunDetails)When an acceleration result has an enabled status, contains the details of the last job run.StorageOptimizer.BuilderstorageOptimizerType(String storageOptimizerType)The specific type of storage optimizer.StorageOptimizer.BuilderstorageOptimizerType(OptimizerType storageOptimizerType)The specific type of storage optimizer.StorageOptimizer.Builderwarnings(String warnings)A message that contains information about any warnings (if present).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 iscompaction.- 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 iscompaction.- 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_enabledindicates true or false for acceleration.- Parameters:
config- A map of the storage optimizer configuration. Currently contains only one key-value pair:is_enabledindicates 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.
-
-