@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageOptimizer extends Object implements Serializable, Cloneable, StructuredPojo
A structure describing the configuration and details of a storage optimizer.
Constructor and Description |
---|
StorageOptimizer() |
Modifier and Type | Method and Description |
---|---|
StorageOptimizer |
addConfigEntry(String key,
String value)
Add a single Config entry
|
StorageOptimizer |
clearConfigEntries()
Removes all the entries added into Config.
|
StorageOptimizer |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getConfig()
A map of the storage optimizer configuration.
|
String |
getErrorMessage()
A message that contains information about any error (if present).
|
String |
getLastRunDetails()
When an acceleration result has an enabled status, contains the details of the last job run.
|
String |
getStorageOptimizerType()
The specific type of storage optimizer.
|
String |
getWarnings()
A message that contains information about any warnings (if present).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfig(Map<String,String> config)
A map of the storage optimizer configuration.
|
void |
setErrorMessage(String errorMessage)
A message that contains information about any error (if present).
|
void |
setLastRunDetails(String lastRunDetails)
When an acceleration result has an enabled status, contains the details of the last job run.
|
void |
setStorageOptimizerType(String storageOptimizerType)
The specific type of storage optimizer.
|
void |
setWarnings(String warnings)
A message that contains information about any warnings (if present).
|
String |
toString()
Returns a string representation of this object.
|
StorageOptimizer |
withConfig(Map<String,String> config)
A map of the storage optimizer configuration.
|
StorageOptimizer |
withErrorMessage(String errorMessage)
A message that contains information about any error (if present).
|
StorageOptimizer |
withLastRunDetails(String lastRunDetails)
When an acceleration result has an enabled status, contains the details of the last job run.
|
StorageOptimizer |
withStorageOptimizerType(OptimizerType storageOptimizerType)
The specific type of storage optimizer.
|
StorageOptimizer |
withStorageOptimizerType(String storageOptimizerType)
The specific type of storage optimizer.
|
StorageOptimizer |
withWarnings(String warnings)
A message that contains information about any warnings (if present).
|
public void setStorageOptimizerType(String storageOptimizerType)
The specific type of storage optimizer. The supported value is compaction
.
storageOptimizerType
- The specific type of storage optimizer. The supported value is compaction
.OptimizerType
public String getStorageOptimizerType()
The specific type of storage optimizer. The supported value is compaction
.
compaction
.OptimizerType
public StorageOptimizer withStorageOptimizerType(String storageOptimizerType)
The specific type of storage optimizer. The supported value is compaction
.
storageOptimizerType
- The specific type of storage optimizer. The supported value is compaction
.OptimizerType
public StorageOptimizer withStorageOptimizerType(OptimizerType storageOptimizerType)
The specific type of storage optimizer. The supported value is compaction
.
storageOptimizerType
- The specific type of storage optimizer. The supported value is compaction
.OptimizerType
public Map<String,String> getConfig()
A map of the storage optimizer configuration. Currently contains only one key-value pair: is_enabled
indicates true or false for acceleration.
is_enabled
indicates true or false for acceleration.public void setConfig(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.
config
- A map of the storage optimizer configuration. Currently contains only one key-value pair:
is_enabled
indicates true or false for acceleration.public StorageOptimizer withConfig(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.
config
- A map of the storage optimizer configuration. Currently contains only one key-value pair:
is_enabled
indicates true or false for acceleration.public StorageOptimizer addConfigEntry(String key, String value)
public StorageOptimizer clearConfigEntries()
public void setErrorMessage(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".
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".
public String getErrorMessage()
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".
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".
public StorageOptimizer withErrorMessage(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".
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".
public void setWarnings(String warnings)
A message that contains information about any warnings (if present).
warnings
- A message that contains information about any warnings (if present).public String getWarnings()
A message that contains information about any warnings (if present).
public StorageOptimizer withWarnings(String warnings)
A message that contains information about any warnings (if present).
warnings
- A message that contains information about any warnings (if present).public void setLastRunDetails(String lastRunDetails)
When an acceleration result has an enabled status, contains the details of the last job run.
lastRunDetails
- When an acceleration result has an enabled status, contains the details of the last job run.public String getLastRunDetails()
When an acceleration result has an enabled status, contains the details of the last job run.
public StorageOptimizer withLastRunDetails(String lastRunDetails)
When an acceleration result has an enabled status, contains the details of the last job run.
lastRunDetails
- When an acceleration result has an enabled status, contains the details of the last job run.public String toString()
toString
in class Object
Object.toString()
public StorageOptimizer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.