@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnStatisticsTaskRun extends Object implements Serializable, Cloneable, StructuredPojo
The object that shows the details of the column stats run.
Constructor and Description |
---|
ColumnStatisticsTaskRun() |
Modifier and Type | Method and Description |
---|---|
ColumnStatisticsTaskRun |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogID()
The ID of the Data Catalog where the table resides.
|
List<String> |
getColumnNameList()
A list of the column names.
|
String |
getColumnStatisticsTaskRunId()
The identifier for the particular column statistics task run.
|
Date |
getCreationTime()
The time that this task was created.
|
String |
getCustomerId()
The Amazon Web Services account ID.
|
String |
getDatabaseName()
The database where the table resides.
|
Double |
getDPUSeconds()
The calculated DPU usage in seconds for all autoscaled workers.
|
Date |
getEndTime()
The end time of the task.
|
String |
getErrorMessage()
The error message for the job.
|
Date |
getLastUpdated()
The last point in time when this task was modified.
|
Integer |
getNumberOfWorkers()
The number of workers used to generate column statistics.
|
String |
getRole()
The IAM role that the service assumes to generate statistics.
|
Double |
getSampleSize()
The percentage of rows used to generate statistics.
|
String |
getSecurityConfiguration()
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
|
Date |
getStartTime()
The start time of the task.
|
String |
getStatus()
The status of the task run.
|
String |
getTableName()
The name of the table for which column statistics is generated.
|
String |
getWorkerType()
The type of workers being used for generating stats.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogID(String catalogID)
The ID of the Data Catalog where the table resides.
|
void |
setColumnNameList(Collection<String> columnNameList)
A list of the column names.
|
void |
setColumnStatisticsTaskRunId(String columnStatisticsTaskRunId)
The identifier for the particular column statistics task run.
|
void |
setCreationTime(Date creationTime)
The time that this task was created.
|
void |
setCustomerId(String customerId)
The Amazon Web Services account ID.
|
void |
setDatabaseName(String databaseName)
The database where the table resides.
|
void |
setDPUSeconds(Double dPUSeconds)
The calculated DPU usage in seconds for all autoscaled workers.
|
void |
setEndTime(Date endTime)
The end time of the task.
|
void |
setErrorMessage(String errorMessage)
The error message for the job.
|
void |
setLastUpdated(Date lastUpdated)
The last point in time when this task was modified.
|
void |
setNumberOfWorkers(Integer numberOfWorkers)
The number of workers used to generate column statistics.
|
void |
setRole(String role)
The IAM role that the service assumes to generate statistics.
|
void |
setSampleSize(Double sampleSize)
The percentage of rows used to generate statistics.
|
void |
setSecurityConfiguration(String securityConfiguration)
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
|
void |
setStartTime(Date startTime)
The start time of the task.
|
void |
setStatus(String status)
The status of the task run.
|
void |
setTableName(String tableName)
The name of the table for which column statistics is generated.
|
void |
setWorkerType(String workerType)
The type of workers being used for generating stats.
|
String |
toString()
Returns a string representation of this object.
|
ColumnStatisticsTaskRun |
withCatalogID(String catalogID)
The ID of the Data Catalog where the table resides.
|
ColumnStatisticsTaskRun |
withColumnNameList(Collection<String> columnNameList)
A list of the column names.
|
ColumnStatisticsTaskRun |
withColumnNameList(String... columnNameList)
A list of the column names.
|
ColumnStatisticsTaskRun |
withColumnStatisticsTaskRunId(String columnStatisticsTaskRunId)
The identifier for the particular column statistics task run.
|
ColumnStatisticsTaskRun |
withCreationTime(Date creationTime)
The time that this task was created.
|
ColumnStatisticsTaskRun |
withCustomerId(String customerId)
The Amazon Web Services account ID.
|
ColumnStatisticsTaskRun |
withDatabaseName(String databaseName)
The database where the table resides.
|
ColumnStatisticsTaskRun |
withDPUSeconds(Double dPUSeconds)
The calculated DPU usage in seconds for all autoscaled workers.
|
ColumnStatisticsTaskRun |
withEndTime(Date endTime)
The end time of the task.
|
ColumnStatisticsTaskRun |
withErrorMessage(String errorMessage)
The error message for the job.
|
ColumnStatisticsTaskRun |
withLastUpdated(Date lastUpdated)
The last point in time when this task was modified.
|
ColumnStatisticsTaskRun |
withNumberOfWorkers(Integer numberOfWorkers)
The number of workers used to generate column statistics.
|
ColumnStatisticsTaskRun |
withRole(String role)
The IAM role that the service assumes to generate statistics.
|
ColumnStatisticsTaskRun |
withSampleSize(Double sampleSize)
The percentage of rows used to generate statistics.
|
ColumnStatisticsTaskRun |
withSecurityConfiguration(String securityConfiguration)
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
|
ColumnStatisticsTaskRun |
withStartTime(Date startTime)
The start time of the task.
|
ColumnStatisticsTaskRun |
withStatus(ColumnStatisticsState status)
The status of the task run.
|
ColumnStatisticsTaskRun |
withStatus(String status)
The status of the task run.
|
ColumnStatisticsTaskRun |
withTableName(String tableName)
The name of the table for which column statistics is generated.
|
ColumnStatisticsTaskRun |
withWorkerType(String workerType)
The type of workers being used for generating stats.
|
public void setCustomerId(String customerId)
The Amazon Web Services account ID.
customerId
- The Amazon Web Services account ID.public String getCustomerId()
The Amazon Web Services account ID.
public ColumnStatisticsTaskRun withCustomerId(String customerId)
The Amazon Web Services account ID.
customerId
- The Amazon Web Services account ID.public void setColumnStatisticsTaskRunId(String columnStatisticsTaskRunId)
The identifier for the particular column statistics task run.
columnStatisticsTaskRunId
- The identifier for the particular column statistics task run.public String getColumnStatisticsTaskRunId()
The identifier for the particular column statistics task run.
public ColumnStatisticsTaskRun withColumnStatisticsTaskRunId(String columnStatisticsTaskRunId)
The identifier for the particular column statistics task run.
columnStatisticsTaskRunId
- The identifier for the particular column statistics task run.public void setDatabaseName(String databaseName)
The database where the table resides.
databaseName
- The database where the table resides.public String getDatabaseName()
The database where the table resides.
public ColumnStatisticsTaskRun withDatabaseName(String databaseName)
The database where the table resides.
databaseName
- The database where the table resides.public void setTableName(String tableName)
The name of the table for which column statistics is generated.
tableName
- The name of the table for which column statistics is generated.public String getTableName()
The name of the table for which column statistics is generated.
public ColumnStatisticsTaskRun withTableName(String tableName)
The name of the table for which column statistics is generated.
tableName
- The name of the table for which column statistics is generated.public List<String> getColumnNameList()
A list of the column names. If none is supplied, all column names for the table will be used by default.
public void setColumnNameList(Collection<String> columnNameList)
A list of the column names. If none is supplied, all column names for the table will be used by default.
columnNameList
- A list of the column names. If none is supplied, all column names for the table will be used by default.public ColumnStatisticsTaskRun withColumnNameList(String... columnNameList)
A list of the column names. If none is supplied, all column names for the table will be used by default.
NOTE: This method appends the values to the existing list (if any). Use
setColumnNameList(java.util.Collection)
or withColumnNameList(java.util.Collection)
if you want
to override the existing values.
columnNameList
- A list of the column names. If none is supplied, all column names for the table will be used by default.public ColumnStatisticsTaskRun withColumnNameList(Collection<String> columnNameList)
A list of the column names. If none is supplied, all column names for the table will be used by default.
columnNameList
- A list of the column names. If none is supplied, all column names for the table will be used by default.public void setCatalogID(String catalogID)
The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.
catalogID
- The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account
ID is used by default.public String getCatalogID()
The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.
public ColumnStatisticsTaskRun withCatalogID(String catalogID)
The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.
catalogID
- The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account
ID is used by default.public void setRole(String role)
The IAM role that the service assumes to generate statistics.
role
- The IAM role that the service assumes to generate statistics.public String getRole()
The IAM role that the service assumes to generate statistics.
public ColumnStatisticsTaskRun withRole(String role)
The IAM role that the service assumes to generate statistics.
role
- The IAM role that the service assumes to generate statistics.public void setSampleSize(Double sampleSize)
The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
sampleSize
- The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to
generate stats.public Double getSampleSize()
The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
public ColumnStatisticsTaskRun withSampleSize(Double sampleSize)
The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
sampleSize
- The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to
generate stats.public void setSecurityConfiguration(String securityConfiguration)
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
securityConfiguration
- Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.public String getSecurityConfiguration()
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
public ColumnStatisticsTaskRun withSecurityConfiguration(String securityConfiguration)
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
securityConfiguration
- Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.public void setNumberOfWorkers(Integer numberOfWorkers)
The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
numberOfWorkers
- The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25
instances.public Integer getNumberOfWorkers()
The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
public ColumnStatisticsTaskRun withNumberOfWorkers(Integer numberOfWorkers)
The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
numberOfWorkers
- The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25
instances.public void setWorkerType(String workerType)
The type of workers being used for generating stats. The default is g.1x
.
workerType
- The type of workers being used for generating stats. The default is g.1x
.public String getWorkerType()
The type of workers being used for generating stats. The default is g.1x
.
g.1x
.public ColumnStatisticsTaskRun withWorkerType(String workerType)
The type of workers being used for generating stats. The default is g.1x
.
workerType
- The type of workers being used for generating stats. The default is g.1x
.public void setStatus(String status)
The status of the task run.
status
- The status of the task run.ColumnStatisticsState
public String getStatus()
The status of the task run.
ColumnStatisticsState
public ColumnStatisticsTaskRun withStatus(String status)
The status of the task run.
status
- The status of the task run.ColumnStatisticsState
public ColumnStatisticsTaskRun withStatus(ColumnStatisticsState status)
The status of the task run.
status
- The status of the task run.ColumnStatisticsState
public void setCreationTime(Date creationTime)
The time that this task was created.
creationTime
- The time that this task was created.public Date getCreationTime()
The time that this task was created.
public ColumnStatisticsTaskRun withCreationTime(Date creationTime)
The time that this task was created.
creationTime
- The time that this task was created.public void setLastUpdated(Date lastUpdated)
The last point in time when this task was modified.
lastUpdated
- The last point in time when this task was modified.public Date getLastUpdated()
The last point in time when this task was modified.
public ColumnStatisticsTaskRun withLastUpdated(Date lastUpdated)
The last point in time when this task was modified.
lastUpdated
- The last point in time when this task was modified.public void setStartTime(Date startTime)
The start time of the task.
startTime
- The start time of the task.public Date getStartTime()
The start time of the task.
public ColumnStatisticsTaskRun withStartTime(Date startTime)
The start time of the task.
startTime
- The start time of the task.public void setEndTime(Date endTime)
The end time of the task.
endTime
- The end time of the task.public Date getEndTime()
The end time of the task.
public ColumnStatisticsTaskRun withEndTime(Date endTime)
The end time of the task.
endTime
- The end time of the task.public void setErrorMessage(String errorMessage)
The error message for the job.
errorMessage
- The error message for the job.public String getErrorMessage()
The error message for the job.
public ColumnStatisticsTaskRun withErrorMessage(String errorMessage)
The error message for the job.
errorMessage
- The error message for the job.public void setDPUSeconds(Double dPUSeconds)
The calculated DPU usage in seconds for all autoscaled workers.
dPUSeconds
- The calculated DPU usage in seconds for all autoscaled workers.public Double getDPUSeconds()
The calculated DPU usage in seconds for all autoscaled workers.
public ColumnStatisticsTaskRun withDPUSeconds(Double dPUSeconds)
The calculated DPU usage in seconds for all autoscaled workers.
dPUSeconds
- The calculated DPU usage in seconds for all autoscaled workers.public String toString()
toString
in class Object
Object.toString()
public ColumnStatisticsTaskRun clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.