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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetMlTransformResponse.BuildercreatedOn(Instant createdOn)The date and time when the transform was created.GetMlTransformResponse.Builderdescription(String description)A description of the transform.default GetMlTransformResponse.BuilderevaluationMetrics(Consumer<EvaluationMetrics.Builder> evaluationMetrics)The latest evaluation metrics.GetMlTransformResponse.BuilderevaluationMetrics(EvaluationMetrics evaluationMetrics)The latest evaluation metrics.GetMlTransformResponse.BuilderglueVersion(String glueVersion)This value determines which version of Glue this machine learning transform is compatible with.GetMlTransformResponse.BuilderinputRecordTables(Collection<GlueTable> inputRecordTables)A list of Glue table definitions used by the transform.GetMlTransformResponse.BuilderinputRecordTables(Consumer<GlueTable.Builder>... inputRecordTables)A list of Glue table definitions used by the transform.GetMlTransformResponse.BuilderinputRecordTables(GlueTable... inputRecordTables)A list of Glue table definitions used by the transform.GetMlTransformResponse.BuilderlabelCount(Integer labelCount)The number of labels available for this transform.GetMlTransformResponse.BuilderlastModifiedOn(Instant lastModifiedOn)The date and time when the transform was last modified.GetMlTransformResponse.BuildermaxCapacity(Double maxCapacity)The number of Glue data processing units (DPUs) that are allocated to task runs for this transform.GetMlTransformResponse.BuildermaxRetries(Integer maxRetries)The maximum number of times to retry a task for this transform after a task run fails.GetMlTransformResponse.Buildername(String name)The unique name given to the transform when it was created.GetMlTransformResponse.BuildernumberOfWorkers(Integer numberOfWorkers)The number of workers of a definedworkerTypethat are allocated when this task runs.default GetMlTransformResponse.Builderparameters(Consumer<TransformParameters.Builder> parameters)The configuration parameters that are specific to the algorithm used.GetMlTransformResponse.Builderparameters(TransformParameters parameters)The configuration parameters that are specific to the algorithm used.GetMlTransformResponse.Builderrole(String role)The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.GetMlTransformResponse.Builderschema(Collection<SchemaColumn> schema)TheMap<Column, Type>object that represents the schema that this transform accepts.GetMlTransformResponse.Builderschema(Consumer<SchemaColumn.Builder>... schema)TheMap<Column, Type>object that represents the schema that this transform accepts.GetMlTransformResponse.Builderschema(SchemaColumn... schema)TheMap<Column, Type>object that represents the schema that this transform accepts.GetMlTransformResponse.Builderstatus(String status)The last known status of the transform (to indicate whether it can be used or not).GetMlTransformResponse.Builderstatus(TransformStatusType status)The last known status of the transform (to indicate whether it can be used or not).GetMlTransformResponse.Buildertimeout(Integer timeout)The timeout for a task run for this transform in minutes.default GetMlTransformResponse.BuildertransformEncryption(Consumer<TransformEncryption.Builder> transformEncryption)The encryption-at-rest settings of the transform that apply to accessing user data.GetMlTransformResponse.BuildertransformEncryption(TransformEncryption transformEncryption)The encryption-at-rest settings of the transform that apply to accessing user data.GetMlTransformResponse.BuildertransformId(String transformId)The unique identifier of the transform, generated at the time that the transform was created.GetMlTransformResponse.BuilderworkerType(String workerType)The type of predefined worker that is allocated when this task runs.GetMlTransformResponse.BuilderworkerType(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 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 theGlueTable.Builderavoiding the need to create one manually viaGlueTable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputRecordTables(List.) - 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:
#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.
-
parameters
default GetMlTransformResponse.Builder parameters(Consumer<TransformParameters.Builder> parameters)
The configuration parameters that are specific to the algorithm used.
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:
parameters(TransformParameters)
-
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 theEvaluationMetrics.Builderavoiding the need to create one manually viaEvaluationMetrics.builder().When the
Consumercompletes,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:
evaluationMetrics(EvaluationMetrics)
-
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- 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
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- 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
GetMlTransformResponse.Builder schema(Consumer<SchemaColumn.Builder>... 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.Builderavoiding the need to create one manually viaSchemaColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#schema(List.) - 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:
#schema(java.util.Collection)
-
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
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
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
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,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
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,WorkerType
-
-
numberOfWorkers
GetMlTransformResponse.Builder numberOfWorkers(Integer 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
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
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
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 theTransformEncryption.Builderavoiding the need to create one manually viaTransformEncryption.builder().When the
Consumercompletes,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:
transformEncryption(TransformEncryption)
-
-