@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableOptimizer extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an optimizer associated with a table.
| Constructor and Description |
|---|
TableOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
TableOptimizer |
clone() |
boolean |
equals(Object obj) |
TableOptimizerConfiguration |
getConfiguration()
A
TableOptimizerConfiguration object that was specified when creating or updating a table optimizer. |
TableOptimizerRun |
getLastRun()
A
TableOptimizerRun object representing the last run of the table optimizer. |
String |
getType()
The type of table optimizer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfiguration(TableOptimizerConfiguration configuration)
A
TableOptimizerConfiguration object that was specified when creating or updating a table optimizer. |
void |
setLastRun(TableOptimizerRun lastRun)
A
TableOptimizerRun object representing the last run of the table optimizer. |
void |
setType(String type)
The type of table optimizer.
|
String |
toString()
Returns a string representation of this object.
|
TableOptimizer |
withConfiguration(TableOptimizerConfiguration configuration)
A
TableOptimizerConfiguration object that was specified when creating or updating a table optimizer. |
TableOptimizer |
withLastRun(TableOptimizerRun lastRun)
A
TableOptimizerRun object representing the last run of the table optimizer. |
TableOptimizer |
withType(String type)
The type of table optimizer.
|
TableOptimizer |
withType(TableOptimizerType type)
The type of table optimizer.
|
public void setType(String type)
The type of table optimizer. Currently, the only valid value is compaction.
type - The type of table optimizer. Currently, the only valid value is compaction.TableOptimizerTypepublic String getType()
The type of table optimizer. Currently, the only valid value is compaction.
compaction.TableOptimizerTypepublic TableOptimizer withType(String type)
The type of table optimizer. Currently, the only valid value is compaction.
type - The type of table optimizer. Currently, the only valid value is compaction.TableOptimizerTypepublic TableOptimizer withType(TableOptimizerType type)
The type of table optimizer. Currently, the only valid value is compaction.
type - The type of table optimizer. Currently, the only valid value is compaction.TableOptimizerTypepublic void setConfiguration(TableOptimizerConfiguration configuration)
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
configuration - A TableOptimizerConfiguration object that was specified when creating or updating a table
optimizer.public TableOptimizerConfiguration getConfiguration()
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
TableOptimizerConfiguration object that was specified when creating or updating a table
optimizer.public TableOptimizer withConfiguration(TableOptimizerConfiguration configuration)
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
configuration - A TableOptimizerConfiguration object that was specified when creating or updating a table
optimizer.public void setLastRun(TableOptimizerRun lastRun)
A TableOptimizerRun object representing the last run of the table optimizer.
lastRun - A TableOptimizerRun object representing the last run of the table optimizer.public TableOptimizerRun getLastRun()
A TableOptimizerRun object representing the last run of the table optimizer.
TableOptimizerRun object representing the last run of the table optimizer.public TableOptimizer withLastRun(TableOptimizerRun lastRun)
A TableOptimizerRun object representing the last run of the table optimizer.
lastRun - A TableOptimizerRun object representing the last run of the table optimizer.public String toString()
toString in class ObjectObject.toString()public TableOptimizer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.