Interface UpdateMlTransformRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMlTransformRequest.Builder,,UpdateMlTransformRequest> GlueRequest.Builder,SdkBuilder<UpdateMlTransformRequest.Builder,,UpdateMlTransformRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMlTransformRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the transform.glueVersion(String glueVersion) This value determines which version of Glue this machine learning transform is compatible with.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 that you gave the transform when you created it.numberOfWorkers(Integer numberOfWorkers) The number of workers of a definedworkerTypethat are allocated when this task runs.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateMlTransformRequest.Builderparameters(Consumer<TransformParameters.Builder> parameters) The configuration parameters that are specific to the transform type (algorithm) used.parameters(TransformParameters parameters) The configuration parameters that are specific to the transform type (algorithm) used.The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.The timeout for a task run for this transform in minutes.transformId(String transformId) A unique identifier that was generated when 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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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.Builderavoiding the need to create one manually viaTransformParameters.builder().When the
Consumercompletes,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:
-
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
WorkerTypefield is set to a value other thanStandard, theMaxCapacityfield 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
WorkerTypefield is set to a value other thanStandard, theMaxCapacityfield 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
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. -
For the
G.2Xworker 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
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. -
For the
G.2Xworker 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
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. -
For the
G.2Xworker 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
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. -
For the
G.2Xworker 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
workerTypethat are allocated when this task runs.- Parameters:
numberOfWorkers- The number of workers of a definedworkerTypethat 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
TIMEOUTstatus. 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 entersTIMEOUTstatus. 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.
-
overrideConfiguration
UpdateMlTransformRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMlTransformRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-