Interface GetMlTransformResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetMlTransformResponse.Builder,GetMlTransformResponse>, GlueResponse.Builder, SdkBuilder<GetMlTransformResponse.Builder,GetMlTransformResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetMlTransformResponse

public static interface GetMlTransformResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetMlTransformResponse.Builder,GetMlTransformResponse>
  • Method Details

    • transformId

      GetMlTransformResponse.Builder transformId(String transformId)

      The unique identifier of the transform, generated at the time that the transform was created.

      Parameters:
      transformId - The unique identifier of the transform, generated at the time that the transform was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The unique name given to the transform when it was created.

      Parameters:
      name - The unique name given to the transform when it was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetMlTransformResponse.Builder description(String description)

      A description of the transform.

      Parameters:
      description - A description of the transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".

      Parameters:
      status - The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".

      Parameters:
      status - The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdOn

      The date and time when the transform was created.

      Parameters:
      createdOn - The date and time when the transform was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedOn

      GetMlTransformResponse.Builder lastModifiedOn(Instant lastModifiedOn)

      The date and time when the transform was last modified.

      Parameters:
      lastModifiedOn - The date and time when the transform was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputRecordTables

      GetMlTransformResponse.Builder inputRecordTables(Collection<GlueTable> inputRecordTables)

      A list of Glue table definitions used by the transform.

      Parameters:
      inputRecordTables - A list of Glue table definitions used by the transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputRecordTables

      GetMlTransformResponse.Builder inputRecordTables(GlueTable... inputRecordTables)

      A list of Glue table definitions used by the transform.

      Parameters:
      inputRecordTables - A list of Glue table definitions used by the transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputRecordTables

      GetMlTransformResponse.Builder inputRecordTables(Consumer<GlueTable.Builder>... inputRecordTables)

      A list of Glue table definitions used by the transform.

      This is a convenience method that creates an instance of the GlueTable.Builder avoiding the need to create one manually via GlueTable.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputRecordTables(List<GlueTable>).

      Parameters:
      inputRecordTables - a consumer that will call methods on GlueTable.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parameters

      The configuration parameters that are specific to the algorithm used.

      Parameters:
      parameters - The configuration parameters that are specific to the algorithm used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      The configuration parameters that are specific to the algorithm used.

      This is a convenience method that creates an instance of the TransformParameters.Builder avoiding the need to create one manually via TransformParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parameters(TransformParameters).

      Parameters:
      parameters - a consumer that will call methods on TransformParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationMetrics

      GetMlTransformResponse.Builder evaluationMetrics(EvaluationMetrics evaluationMetrics)

      The latest evaluation metrics.

      Parameters:
      evaluationMetrics - The latest evaluation metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationMetrics

      default GetMlTransformResponse.Builder evaluationMetrics(Consumer<EvaluationMetrics.Builder> evaluationMetrics)

      The latest evaluation metrics.

      This is a convenience method that creates an instance of the EvaluationMetrics.Builder avoiding the need to create one manually via EvaluationMetrics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationMetrics(EvaluationMetrics).

      Parameters:
      evaluationMetrics - a consumer that will call methods on EvaluationMetrics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • labelCount

      GetMlTransformResponse.Builder labelCount(Integer labelCount)

      The number of labels available for this transform.

      Parameters:
      labelCount - The number of labels available for this transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns.

      Parameters:
      schema - The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns.

      Parameters:
      schema - The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns.

      This is a convenience method that creates an instance of the SchemaColumn.Builder avoiding the need to create one manually via SchemaColumn.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schema(List<SchemaColumn>).

      Parameters:
      schema - a consumer that will call methods on SchemaColumn.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • role

      The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.

      Parameters:
      role - The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • glueVersion

      GetMlTransformResponse.Builder glueVersion(String glueVersion)

      This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

      Parameters:
      glueVersion - This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCapacity

      GetMlTransformResponse.Builder maxCapacity(Double maxCapacity)

      The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

      When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

      Parameters:
      maxCapacity - The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

      When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workerType

      GetMlTransformResponse.Builder workerType(String workerType)

      The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.

      • For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.

      • For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.

      • For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.

      Parameters:
      workerType - The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.

      • For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.

      • For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.

      • For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workerType

      The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.

      • For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.

      • For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.

      • For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.

      Parameters:
      workerType - The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.

      • For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.

      • For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.

      • For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numberOfWorkers

      GetMlTransformResponse.Builder numberOfWorkers(Integer numberOfWorkers)

      The number of workers of a defined workerType that are allocated when this task runs.

      Parameters:
      numberOfWorkers - The number of workers of a defined workerType that are allocated when this task runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeout

      The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

      Parameters:
      timeout - The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxRetries

      GetMlTransformResponse.Builder maxRetries(Integer maxRetries)

      The maximum number of times to retry a task for this transform after a task run fails.

      Parameters:
      maxRetries - The maximum number of times to retry a task for this transform after a task run fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformEncryption

      GetMlTransformResponse.Builder transformEncryption(TransformEncryption transformEncryption)

      The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.

      Parameters:
      transformEncryption - The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transformEncryption

      default GetMlTransformResponse.Builder transformEncryption(Consumer<TransformEncryption.Builder> transformEncryption)

      The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.

      This is a convenience method that creates an instance of the TransformEncryption.Builder avoiding the need to create one manually via TransformEncryption.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to transformEncryption(TransformEncryption).

      Parameters:
      transformEncryption - a consumer that will call methods on TransformEncryption.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: