Interface GetMlTransformResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMlTransformResponse.Builder,
,GetMlTransformResponse> GlueResponse.Builder
,SdkBuilder<GetMlTransformResponse.Builder,
,GetMlTransformResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMlTransformResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the transform was created.description
(String description) A description of the transform.default GetMlTransformResponse.Builder
evaluationMetrics
(Consumer<EvaluationMetrics.Builder> evaluationMetrics) The latest evaluation metrics.evaluationMetrics
(EvaluationMetrics evaluationMetrics) The latest evaluation metrics.glueVersion
(String glueVersion) This value determines which version of Glue this machine learning transform is compatible with.inputRecordTables
(Collection<GlueTable> inputRecordTables) A list of Glue table definitions used by the transform.inputRecordTables
(Consumer<GlueTable.Builder>... inputRecordTables) A list of Glue table definitions used by the transform.inputRecordTables
(GlueTable... inputRecordTables) A list of Glue table definitions used by the transform.labelCount
(Integer labelCount) The number of labels available for this transform.lastModifiedOn
(Instant lastModifiedOn) The date and time when the transform was last modified.maxCapacity
(Double maxCapacity) The number of Glue data processing units (DPUs) that are allocated to task runs for this transform.maxRetries
(Integer maxRetries) The maximum number of times to retry a task for this transform after a task run fails.The unique name given to the transform when it was created.numberOfWorkers
(Integer numberOfWorkers) The number of workers of a definedworkerType
that are allocated when this task runs.default GetMlTransformResponse.Builder
parameters
(Consumer<TransformParameters.Builder> parameters) The configuration parameters that are specific to the algorithm used.parameters
(TransformParameters parameters) The configuration parameters that are specific to the algorithm used.The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.schema
(Collection<SchemaColumn> schema) TheMap<Column, Type>
object that represents the schema that this transform accepts.schema
(Consumer<SchemaColumn.Builder>... schema) TheMap<Column, Type>
object that represents the schema that this transform accepts.schema
(SchemaColumn... schema) TheMap<Column, Type>
object that represents the schema that this transform accepts.The last known status of the transform (to indicate whether it can be used or not).status
(TransformStatusType status) The last known status of the transform (to indicate whether it can be used or not).The timeout for a task run for this transform in minutes.default GetMlTransformResponse.Builder
transformEncryption
(Consumer<TransformEncryption.Builder> transformEncryption) The encryption-at-rest settings of the transform that apply to accessing user data.transformEncryption
(TransformEncryption transformEncryption) The encryption-at-rest settings of the transform that apply to accessing user data.transformId
(String transformId) The unique identifier of the transform, generated at the time that the transform was created.workerType
(String workerType) The type of predefined worker that is allocated when this task runs.workerType
(WorkerType workerType) The type of predefined worker that is allocated when this task runs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
A list of Glue table definitions used by the transform.
This is a convenience method that creates an instance of theGlueTable.Builder
avoiding the need to create one manually viaGlueTable.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputRecordTables(List<GlueTable>)
.- Parameters:
inputRecordTables
- a consumer that will call methods onGlueTable.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 theTransformParameters.Builder
avoiding the need to create one manually viaTransformParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(TransformParameters)
.- Parameters:
parameters
- a consumer that will call methods onTransformParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theEvaluationMetrics.Builder
avoiding the need to create one manually viaEvaluationMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluationMetrics(EvaluationMetrics)
.- Parameters:
evaluationMetrics
- a consumer that will call methods onEvaluationMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
- TheMap<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
- TheMap<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
This is a convenience method that creates an instance of theMap<Column, Type>
object that represents the schema that this transform accepts. Has an upper bound of 100 columns.SchemaColumn.Builder
avoiding the need to create one manually viaSchemaColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschema(List<SchemaColumn>)
.- Parameters:
schema
- a consumer that will call methods onSchemaColumn.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
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
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 thanStandard
, theMaxCapacity
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 thanStandard
, theMaxCapacity
field is set automatically and becomes read-only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The number of workers of a defined
workerType
that are allocated when this task runs.- Parameters:
numberOfWorkers
- The number of workers of a definedworkerType
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 entersTIMEOUT
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
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
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 theTransformEncryption.Builder
avoiding the need to create one manually viaTransformEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransformEncryption(TransformEncryption)
.- Parameters:
transformEncryption
- a consumer that will call methods onTransformEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-