@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) |
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
.TableOptimizerType
public String getType()
The type of table optimizer. Currently, the only valid value is compaction
.
compaction
.TableOptimizerType
public 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
.TableOptimizerType
public 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
.TableOptimizerType
public 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 Object
Object.toString()
public TableOptimizer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.