Interface ColumnStatisticsTaskRun.Builder

    • 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 is g.1x.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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.