Interface GetMlTransformResponse.Builder

    • Method Detail

      • 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

        GetMlTransformResponse.Builder name​(String 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

        GetMlTransformResponse.Builder status​(String 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:
        TransformStatusType, TransformStatusType
      • status

        GetMlTransformResponse.Builder status​(TransformStatusType 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:
        TransformStatusType, TransformStatusType
      • createdOn

        GetMlTransformResponse.Builder createdOn​(Instant 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).

        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:
        #inputRecordTables(java.util.Collection)
      • parameters

        GetMlTransformResponse.Builder parameters​(TransformParameters 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.
      • 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.
      • 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

        GetMlTransformResponse.Builder schema​(Collection<SchemaColumn> 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

        GetMlTransformResponse.Builder schema​(SchemaColumn... 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.
      • role

        GetMlTransformResponse.Builder role​(String 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, WorkerType
      • workerType

        GetMlTransformResponse.Builder workerType​(WorkerType 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, WorkerType
      • 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

        GetMlTransformResponse.Builder timeout​(Integer 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.