@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableOptimizerRun extends Object implements Serializable, Cloneable, StructuredPojo
Contains details for a table optimizer run.
Constructor and Description |
---|
TableOptimizerRun() |
Modifier and Type | Method and Description |
---|---|
TableOptimizerRun |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTimestamp()
Represents the epoch timestamp at which the compaction job ended.
|
String |
getError()
An error that occured during the optimizer run.
|
String |
getEventType()
An event type representing the status of the table optimizer run.
|
RunMetrics |
getMetrics()
A
RunMetrics object containing metrics for the optimizer run. |
Date |
getStartTimestamp()
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTimestamp(Date endTimestamp)
Represents the epoch timestamp at which the compaction job ended.
|
void |
setError(String error)
An error that occured during the optimizer run.
|
void |
setEventType(String eventType)
An event type representing the status of the table optimizer run.
|
void |
setMetrics(RunMetrics metrics)
A
RunMetrics object containing metrics for the optimizer run. |
void |
setStartTimestamp(Date startTimestamp)
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
|
String |
toString()
Returns a string representation of this object.
|
TableOptimizerRun |
withEndTimestamp(Date endTimestamp)
Represents the epoch timestamp at which the compaction job ended.
|
TableOptimizerRun |
withError(String error)
An error that occured during the optimizer run.
|
TableOptimizerRun |
withEventType(String eventType)
An event type representing the status of the table optimizer run.
|
TableOptimizerRun |
withEventType(TableOptimizerEventType eventType)
An event type representing the status of the table optimizer run.
|
TableOptimizerRun |
withMetrics(RunMetrics metrics)
A
RunMetrics object containing metrics for the optimizer run. |
TableOptimizerRun |
withStartTimestamp(Date startTimestamp)
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
|
public void setEventType(String eventType)
An event type representing the status of the table optimizer run.
eventType
- An event type representing the status of the table optimizer run.TableOptimizerEventType
public String getEventType()
An event type representing the status of the table optimizer run.
TableOptimizerEventType
public TableOptimizerRun withEventType(String eventType)
An event type representing the status of the table optimizer run.
eventType
- An event type representing the status of the table optimizer run.TableOptimizerEventType
public TableOptimizerRun withEventType(TableOptimizerEventType eventType)
An event type representing the status of the table optimizer run.
eventType
- An event type representing the status of the table optimizer run.TableOptimizerEventType
public void setStartTimestamp(Date startTimestamp)
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
startTimestamp
- Represents the epoch timestamp at which the compaction job was started within Lake Formation.public Date getStartTimestamp()
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
public TableOptimizerRun withStartTimestamp(Date startTimestamp)
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
startTimestamp
- Represents the epoch timestamp at which the compaction job was started within Lake Formation.public void setEndTimestamp(Date endTimestamp)
Represents the epoch timestamp at which the compaction job ended.
endTimestamp
- Represents the epoch timestamp at which the compaction job ended.public Date getEndTimestamp()
Represents the epoch timestamp at which the compaction job ended.
public TableOptimizerRun withEndTimestamp(Date endTimestamp)
Represents the epoch timestamp at which the compaction job ended.
endTimestamp
- Represents the epoch timestamp at which the compaction job ended.public void setMetrics(RunMetrics metrics)
A RunMetrics
object containing metrics for the optimizer run.
metrics
- A RunMetrics
object containing metrics for the optimizer run.public RunMetrics getMetrics()
A RunMetrics
object containing metrics for the optimizer run.
RunMetrics
object containing metrics for the optimizer run.public TableOptimizerRun withMetrics(RunMetrics metrics)
A RunMetrics
object containing metrics for the optimizer run.
metrics
- A RunMetrics
object containing metrics for the optimizer run.public void setError(String error)
An error that occured during the optimizer run.
error
- An error that occured during the optimizer run.public String getError()
An error that occured during the optimizer run.
public TableOptimizerRun withError(String error)
An error that occured during the optimizer run.
error
- An error that occured during the optimizer run.public String toString()
toString
in class Object
Object.toString()
public TableOptimizerRun clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.