Interface ColumnStatisticsTaskRun.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnStatisticsTaskRun.Builder,ColumnStatisticsTaskRun>,SdkBuilder<ColumnStatisticsTaskRun.Builder,ColumnStatisticsTaskRun>,SdkPojo
- Enclosing class:
- ColumnStatisticsTaskRun
public static interface ColumnStatisticsTaskRun.Builder extends SdkPojo, CopyableBuilder<ColumnStatisticsTaskRun.Builder,ColumnStatisticsTaskRun>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColumnStatisticsTaskRun.BuildercatalogID(String catalogID)The ID of the Data Catalog where the table resides.ColumnStatisticsTaskRun.BuildercolumnNameList(String... columnNameList)A list of the column names.ColumnStatisticsTaskRun.BuildercolumnNameList(Collection<String> columnNameList)A list of the column names.ColumnStatisticsTaskRun.BuildercolumnStatisticsTaskRunId(String columnStatisticsTaskRunId)The identifier for the particular column statistics task run.ColumnStatisticsTaskRun.BuildercreationTime(Instant creationTime)The time that this task was created.ColumnStatisticsTaskRun.BuildercustomerId(String customerId)The Amazon Web Services account ID.ColumnStatisticsTaskRun.BuilderdatabaseName(String databaseName)The database where the table resides.ColumnStatisticsTaskRun.BuilderdpuSeconds(Double dpuSeconds)The calculated DPU usage in seconds for all autoscaled workers.ColumnStatisticsTaskRun.BuilderendTime(Instant endTime)The end time of the task.ColumnStatisticsTaskRun.BuildererrorMessage(String errorMessage)The error message for the job.ColumnStatisticsTaskRun.BuilderlastUpdated(Instant lastUpdated)The last point in time when this task was modified.ColumnStatisticsTaskRun.BuildernumberOfWorkers(Integer numberOfWorkers)The number of workers used to generate column statistics.ColumnStatisticsTaskRun.Builderrole(String role)The IAM role that the service assumes to generate statistics.ColumnStatisticsTaskRun.BuildersampleSize(Double sampleSize)The percentage of rows used to generate statistics.ColumnStatisticsTaskRun.BuildersecurityConfiguration(String securityConfiguration)Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.ColumnStatisticsTaskRun.BuilderstartTime(Instant startTime)The start time of the task.ColumnStatisticsTaskRun.Builderstatus(String status)The status of the task run.ColumnStatisticsTaskRun.Builderstatus(ColumnStatisticsState status)The status of the task run.ColumnStatisticsTaskRun.BuildertableName(String tableName)The name of the table for which column statistics is generated.ColumnStatisticsTaskRun.BuilderworkerType(String workerType)The type of workers being used for generating stats.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
customerId
ColumnStatisticsTaskRun.Builder customerId(String customerId)
The Amazon Web Services account ID.
- Parameters:
customerId- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnStatisticsTaskRunId
ColumnStatisticsTaskRun.Builder columnStatisticsTaskRunId(String columnStatisticsTaskRunId)
The identifier for the particular column statistics task run.
- Parameters:
columnStatisticsTaskRunId- The identifier for the particular column statistics task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
ColumnStatisticsTaskRun.Builder databaseName(String databaseName)
The database where the table resides.
- Parameters:
databaseName- The database where the table resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
ColumnStatisticsTaskRun.Builder tableName(String tableName)
The name of the table for which column statistics is generated.
- Parameters:
tableName- The name of the table for which column statistics is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnNameList
ColumnStatisticsTaskRun.Builder columnNameList(Collection<String> columnNameList)
A list of the column names. If none is supplied, all column names for the table will be used by default.
- Parameters:
columnNameList- A list of the column names. If none is supplied, all column names for the table will be used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnNameList
ColumnStatisticsTaskRun.Builder columnNameList(String... columnNameList)
A list of the column names. If none is supplied, all column names for the table will be used by default.
- Parameters:
columnNameList- A list of the column names. If none is supplied, all column names for the table will be used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogID
ColumnStatisticsTaskRun.Builder catalogID(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
ColumnStatisticsTaskRun.Builder role(String role)
The IAM role that the service assumes to generate statistics.
- Parameters:
role- The IAM role that the service assumes to generate statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleSize
ColumnStatisticsTaskRun.Builder sampleSize(Double sampleSize)
The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
- Parameters:
sampleSize- The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfiguration
ColumnStatisticsTaskRun.Builder securityConfiguration(String securityConfiguration)
Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
- Parameters:
securityConfiguration- Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfWorkers
ColumnStatisticsTaskRun.Builder numberOfWorkers(Integer numberOfWorkers)
The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
- Parameters:
numberOfWorkers- The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerType
ColumnStatisticsTaskRun.Builder workerType(String workerType)
The type of workers being used for generating stats. The default is
g.1x.- Parameters:
workerType- The type of workers being used for generating stats. The default isg.1x.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ColumnStatisticsTaskRun.Builder status(String status)
The status of the task run.
- Parameters:
status- The status of the task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ColumnStatisticsState,ColumnStatisticsState
-
status
ColumnStatisticsTaskRun.Builder status(ColumnStatisticsState status)
The status of the task run.
- Parameters:
status- The status of the task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ColumnStatisticsState,ColumnStatisticsState
-
creationTime
ColumnStatisticsTaskRun.Builder creationTime(Instant creationTime)
The time that this task was created.
- Parameters:
creationTime- The time that this task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdated
ColumnStatisticsTaskRun.Builder lastUpdated(Instant lastUpdated)
The last point in time when this task was modified.
- Parameters:
lastUpdated- The last point in time when this task was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
ColumnStatisticsTaskRun.Builder startTime(Instant startTime)
The start time of the task.
- Parameters:
startTime- The start time of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ColumnStatisticsTaskRun.Builder endTime(Instant endTime)
The end time of the task.
- Parameters:
endTime- The end time of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
ColumnStatisticsTaskRun.Builder errorMessage(String errorMessage)
The error message for the job.
- Parameters:
errorMessage- The error message for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dpuSeconds
ColumnStatisticsTaskRun.Builder dpuSeconds(Double dpuSeconds)
The calculated DPU usage in seconds for all autoscaled workers.
- Parameters:
dpuSeconds- The calculated DPU usage in seconds for all autoscaled workers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-