@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableOptimizerConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details on the configuration of a table optimizer. You pass this configuration when creating or updating a table optimizer.
| Constructor and Description |
|---|
TableOptimizerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TableOptimizerConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Whether table optimization is enabled.
|
String |
getRoleArn()
A role passed by the caller which gives the service permission to update the resources associated with the
optimizer on the caller's behalf.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether table optimization is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Whether table optimization is enabled.
|
void |
setRoleArn(String roleArn)
A role passed by the caller which gives the service permission to update the resources associated with the
optimizer on the caller's behalf.
|
String |
toString()
Returns a string representation of this object.
|
TableOptimizerConfiguration |
withEnabled(Boolean enabled)
Whether table optimization is enabled.
|
TableOptimizerConfiguration |
withRoleArn(String roleArn)
A role passed by the caller which gives the service permission to update the resources associated with the
optimizer on the caller's behalf.
|
public void setRoleArn(String roleArn)
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
roleArn - A role passed by the caller which gives the service permission to update the resources associated with the
optimizer on the caller's behalf.public String getRoleArn()
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
public TableOptimizerConfiguration withRoleArn(String roleArn)
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
roleArn - A role passed by the caller which gives the service permission to update the resources associated with the
optimizer on the caller's behalf.public void setEnabled(Boolean enabled)
Whether table optimization is enabled.
enabled - Whether table optimization is enabled.public Boolean getEnabled()
Whether table optimization is enabled.
public TableOptimizerConfiguration withEnabled(Boolean enabled)
Whether table optimization is enabled.
enabled - Whether table optimization is enabled.public Boolean isEnabled()
Whether table optimization is enabled.
public String toString()
toString in class ObjectObject.toString()public TableOptimizerConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.