Interface UpdateMlTransformRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMlTransformRequest.Builder,UpdateMlTransformRequest>
,GlueRequest.Builder
,SdkBuilder<UpdateMlTransformRequest.Builder,UpdateMlTransformRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateMlTransformRequest
public static interface UpdateMlTransformRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateMlTransformRequest.Builder,UpdateMlTransformRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateMlTransformRequest.Builder
description(String description)
A description of the transform.UpdateMlTransformRequest.Builder
glueVersion(String glueVersion)
This value determines which version of Glue this machine learning transform is compatible with.UpdateMlTransformRequest.Builder
maxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform.UpdateMlTransformRequest.Builder
maxRetries(Integer maxRetries)
The maximum number of times to retry a task for this transform after a task run fails.UpdateMlTransformRequest.Builder
name(String name)
The unique name that you gave the transform when you created it.UpdateMlTransformRequest.Builder
numberOfWorkers(Integer numberOfWorkers)
The number of workers of a definedworkerType
that are allocated when this task runs.UpdateMlTransformRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateMlTransformRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default UpdateMlTransformRequest.Builder
parameters(Consumer<TransformParameters.Builder> parameters)
The configuration parameters that are specific to the transform type (algorithm) used.UpdateMlTransformRequest.Builder
parameters(TransformParameters parameters)
The configuration parameters that are specific to the transform type (algorithm) used.UpdateMlTransformRequest.Builder
role(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.UpdateMlTransformRequest.Builder
timeout(Integer timeout)
The timeout for a task run for this transform in minutes.UpdateMlTransformRequest.Builder
transformId(String transformId)
A unique identifier that was generated when the transform was created.UpdateMlTransformRequest.Builder
workerType(String workerType)
The type of predefined worker that is allocated when this task runs.UpdateMlTransformRequest.Builder
workerType(WorkerType workerType)
The type of predefined worker that is allocated when this task runs.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
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
-
transformId
UpdateMlTransformRequest.Builder transformId(String transformId)
A unique identifier that was generated when the transform was created.
- Parameters:
transformId
- A unique identifier that was generated when the transform was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateMlTransformRequest.Builder name(String name)
The unique name that you gave the transform when you created it.
- Parameters:
name
- The unique name that you gave the transform when you created it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateMlTransformRequest.Builder description(String description)
A description of the transform. The default is an empty string.
- Parameters:
description
- A description of the transform. The default is an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
UpdateMlTransformRequest.Builder parameters(TransformParameters parameters)
The configuration parameters that are specific to the transform type (algorithm) used. Conditionally dependent on the transform type.
- Parameters:
parameters
- The configuration parameters that are specific to the transform type (algorithm) used. Conditionally dependent on the transform type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
default UpdateMlTransformRequest.Builder parameters(Consumer<TransformParameters.Builder> parameters)
The configuration parameters that are specific to the transform type (algorithm) used. Conditionally dependent on the transform type.
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:
parameters(TransformParameters)
-
role
UpdateMlTransformRequest.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
UpdateMlTransformRequest.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
UpdateMlTransformRequest.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 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
UpdateMlTransformRequest.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
UpdateMlTransformRequest.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
UpdateMlTransformRequest.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 definedworkerType
that are allocated when this task runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
UpdateMlTransformRequest.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 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
UpdateMlTransformRequest.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.
-
overrideConfiguration
UpdateMlTransformRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMlTransformRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-