@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MLTransform extends Object implements Serializable, Cloneable, StructuredPojo
A structure for a machine learning transform.
Constructor and Description |
---|
MLTransform() |
Modifier and Type | Method and Description |
---|---|
MLTransform |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedOn()
A timestamp.
|
String |
getDescription()
A user-defined, long-form description text for the machine learning transform.
|
EvaluationMetrics |
getEvaluationMetrics()
An
EvaluationMetrics object. |
String |
getGlueVersion()
This value determines which version of Glue this machine learning transform is compatible with.
|
List<GlueTable> |
getInputRecordTables()
A list of Glue table definitions used by the transform.
|
Integer |
getLabelCount()
A count identifier for the labeling files generated by Glue for this transform.
|
Date |
getLastModifiedOn()
A timestamp.
|
Double |
getMaxCapacity()
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform.
|
Integer |
getMaxRetries()
The maximum number of times to retry after an
MLTaskRun of the machine learning transform fails. |
String |
getName()
A user-defined name for the machine learning transform.
|
Integer |
getNumberOfWorkers()
The number of workers of a defined
workerType that are allocated when a task of the transform runs. |
TransformParameters |
getParameters()
A
TransformParameters object. |
String |
getRole()
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
|
List<SchemaColumn> |
getSchema()
A map of key-value pairs representing the columns and data types that this transform can run against.
|
String |
getStatus()
The current status of the machine learning transform.
|
Integer |
getTimeout()
The timeout in minutes of the machine learning transform.
|
TransformEncryption |
getTransformEncryption()
The encryption-at-rest settings of the transform that apply to accessing user data.
|
String |
getTransformId()
The unique transform ID that is generated for the machine learning transform.
|
String |
getWorkerType()
The type of predefined worker that is allocated when a task of this transform runs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedOn(Date createdOn)
A timestamp.
|
void |
setDescription(String description)
A user-defined, long-form description text for the machine learning transform.
|
void |
setEvaluationMetrics(EvaluationMetrics evaluationMetrics)
An
EvaluationMetrics object. |
void |
setGlueVersion(String glueVersion)
This value determines which version of Glue this machine learning transform is compatible with.
|
void |
setInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of Glue table definitions used by the transform.
|
void |
setLabelCount(Integer labelCount)
A count identifier for the labeling files generated by Glue for this transform.
|
void |
setLastModifiedOn(Date lastModifiedOn)
A timestamp.
|
void |
setMaxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform.
|
void |
setMaxRetries(Integer maxRetries)
The maximum number of times to retry after an
MLTaskRun of the machine learning transform fails. |
void |
setName(String name)
A user-defined name for the machine learning transform.
|
void |
setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerType that are allocated when a task of the transform runs. |
void |
setParameters(TransformParameters parameters)
A
TransformParameters object. |
void |
setRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
|
void |
setSchema(Collection<SchemaColumn> schema)
A map of key-value pairs representing the columns and data types that this transform can run against.
|
void |
setStatus(String status)
The current status of the machine learning transform.
|
void |
setTimeout(Integer timeout)
The timeout in minutes of the machine learning transform.
|
void |
setTransformEncryption(TransformEncryption transformEncryption)
The encryption-at-rest settings of the transform that apply to accessing user data.
|
void |
setTransformId(String transformId)
The unique transform ID that is generated for the machine learning transform.
|
void |
setWorkerType(String workerType)
The type of predefined worker that is allocated when a task of this transform runs.
|
String |
toString()
Returns a string representation of this object.
|
MLTransform |
withCreatedOn(Date createdOn)
A timestamp.
|
MLTransform |
withDescription(String description)
A user-defined, long-form description text for the machine learning transform.
|
MLTransform |
withEvaluationMetrics(EvaluationMetrics evaluationMetrics)
An
EvaluationMetrics object. |
MLTransform |
withGlueVersion(String glueVersion)
This value determines which version of Glue this machine learning transform is compatible with.
|
MLTransform |
withInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of Glue table definitions used by the transform.
|
MLTransform |
withInputRecordTables(GlueTable... inputRecordTables)
A list of Glue table definitions used by the transform.
|
MLTransform |
withLabelCount(Integer labelCount)
A count identifier for the labeling files generated by Glue for this transform.
|
MLTransform |
withLastModifiedOn(Date lastModifiedOn)
A timestamp.
|
MLTransform |
withMaxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform.
|
MLTransform |
withMaxRetries(Integer maxRetries)
The maximum number of times to retry after an
MLTaskRun of the machine learning transform fails. |
MLTransform |
withName(String name)
A user-defined name for the machine learning transform.
|
MLTransform |
withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerType that are allocated when a task of the transform runs. |
MLTransform |
withParameters(TransformParameters parameters)
A
TransformParameters object. |
MLTransform |
withRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
|
MLTransform |
withSchema(Collection<SchemaColumn> schema)
A map of key-value pairs representing the columns and data types that this transform can run against.
|
MLTransform |
withSchema(SchemaColumn... schema)
A map of key-value pairs representing the columns and data types that this transform can run against.
|
MLTransform |
withStatus(String status)
The current status of the machine learning transform.
|
MLTransform |
withStatus(TransformStatusType status)
The current status of the machine learning transform.
|
MLTransform |
withTimeout(Integer timeout)
The timeout in minutes of the machine learning transform.
|
MLTransform |
withTransformEncryption(TransformEncryption transformEncryption)
The encryption-at-rest settings of the transform that apply to accessing user data.
|
MLTransform |
withTransformId(String transformId)
The unique transform ID that is generated for the machine learning transform.
|
MLTransform |
withWorkerType(String workerType)
The type of predefined worker that is allocated when a task of this transform runs.
|
MLTransform |
withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when a task of this transform runs.
|
public void setTransformId(String transformId)
The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be unique and does not change.
transformId
- The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be
unique and does not change.public String getTransformId()
The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be unique and does not change.
public MLTransform withTransformId(String transformId)
The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be unique and does not change.
transformId
- The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be
unique and does not change.public void setName(String name)
A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed at any time.
name
- A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed
at any time.public String getName()
A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed at any time.
public MLTransform withName(String name)
A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed at any time.
name
- A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed
at any time.public void setDescription(String description)
A user-defined, long-form description text for the machine learning transform. Descriptions are not guaranteed to be unique and can be changed at any time.
description
- A user-defined, long-form description text for the machine learning transform. Descriptions are not
guaranteed to be unique and can be changed at any time.public String getDescription()
A user-defined, long-form description text for the machine learning transform. Descriptions are not guaranteed to be unique and can be changed at any time.
public MLTransform withDescription(String description)
A user-defined, long-form description text for the machine learning transform. Descriptions are not guaranteed to be unique and can be changed at any time.
description
- A user-defined, long-form description text for the machine learning transform. Descriptions are not
guaranteed to be unique and can be changed at any time.public void setStatus(String status)
The current status of the machine learning transform.
status
- The current status of the machine learning transform.TransformStatusType
public String getStatus()
The current status of the machine learning transform.
TransformStatusType
public MLTransform withStatus(String status)
The current status of the machine learning transform.
status
- The current status of the machine learning transform.TransformStatusType
public MLTransform withStatus(TransformStatusType status)
The current status of the machine learning transform.
status
- The current status of the machine learning transform.TransformStatusType
public void setCreatedOn(Date createdOn)
A timestamp. The time and date that this machine learning transform was created.
createdOn
- A timestamp. The time and date that this machine learning transform was created.public Date getCreatedOn()
A timestamp. The time and date that this machine learning transform was created.
public MLTransform withCreatedOn(Date createdOn)
A timestamp. The time and date that this machine learning transform was created.
createdOn
- A timestamp. The time and date that this machine learning transform was created.public void setLastModifiedOn(Date lastModifiedOn)
A timestamp. The last point in time when this machine learning transform was modified.
lastModifiedOn
- A timestamp. The last point in time when this machine learning transform was modified.public Date getLastModifiedOn()
A timestamp. The last point in time when this machine learning transform was modified.
public MLTransform withLastModifiedOn(Date lastModifiedOn)
A timestamp. The last point in time when this machine learning transform was modified.
lastModifiedOn
- A timestamp. The last point in time when this machine learning transform was modified.public List<GlueTable> getInputRecordTables()
A list of Glue table definitions used by the transform.
public void setInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of Glue table definitions used by the transform.
inputRecordTables
- A list of Glue table definitions used by the transform.public MLTransform withInputRecordTables(GlueTable... inputRecordTables)
A list of Glue table definitions used by the transform.
NOTE: This method appends the values to the existing list (if any). Use
setInputRecordTables(java.util.Collection)
or withInputRecordTables(java.util.Collection)
if
you want to override the existing values.
inputRecordTables
- A list of Glue table definitions used by the transform.public MLTransform withInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of Glue table definitions used by the transform.
inputRecordTables
- A list of Glue table definitions used by the transform.public void setParameters(TransformParameters parameters)
A TransformParameters
object. You can use parameters to tune (customize) the behavior of the machine
learning transform by specifying what data it learns from and your preference on various tradeoffs (such as
precious vs. recall, or accuracy vs. cost).
parameters
- A TransformParameters
object. You can use parameters to tune (customize) the behavior of the
machine learning transform by specifying what data it learns from and your preference on various tradeoffs
(such as precious vs. recall, or accuracy vs. cost).public TransformParameters getParameters()
A TransformParameters
object. You can use parameters to tune (customize) the behavior of the machine
learning transform by specifying what data it learns from and your preference on various tradeoffs (such as
precious vs. recall, or accuracy vs. cost).
TransformParameters
object. You can use parameters to tune (customize) the behavior of the
machine learning transform by specifying what data it learns from and your preference on various
tradeoffs (such as precious vs. recall, or accuracy vs. cost).public MLTransform withParameters(TransformParameters parameters)
A TransformParameters
object. You can use parameters to tune (customize) the behavior of the machine
learning transform by specifying what data it learns from and your preference on various tradeoffs (such as
precious vs. recall, or accuracy vs. cost).
parameters
- A TransformParameters
object. You can use parameters to tune (customize) the behavior of the
machine learning transform by specifying what data it learns from and your preference on various tradeoffs
(such as precious vs. recall, or accuracy vs. cost).public void setEvaluationMetrics(EvaluationMetrics evaluationMetrics)
An EvaluationMetrics
object. Evaluation metrics provide an estimate of the quality of your machine
learning transform.
evaluationMetrics
- An EvaluationMetrics
object. Evaluation metrics provide an estimate of the quality of your
machine learning transform.public EvaluationMetrics getEvaluationMetrics()
An EvaluationMetrics
object. Evaluation metrics provide an estimate of the quality of your machine
learning transform.
EvaluationMetrics
object. Evaluation metrics provide an estimate of the quality of your
machine learning transform.public MLTransform withEvaluationMetrics(EvaluationMetrics evaluationMetrics)
An EvaluationMetrics
object. Evaluation metrics provide an estimate of the quality of your machine
learning transform.
evaluationMetrics
- An EvaluationMetrics
object. Evaluation metrics provide an estimate of the quality of your
machine learning transform.public void setLabelCount(Integer labelCount)
A count identifier for the labeling files generated by Glue for this transform. As you create a better transform, you can iteratively download, label, and upload the labeling file.
labelCount
- A count identifier for the labeling files generated by Glue for this transform. As you create a better
transform, you can iteratively download, label, and upload the labeling file.public Integer getLabelCount()
A count identifier for the labeling files generated by Glue for this transform. As you create a better transform, you can iteratively download, label, and upload the labeling file.
public MLTransform withLabelCount(Integer labelCount)
A count identifier for the labeling files generated by Glue for this transform. As you create a better transform, you can iteratively download, label, and upload the labeling file.
labelCount
- A count identifier for the labeling files generated by Glue for this transform. As you create a better
transform, you can iteratively download, label, and upload the labeling file.public List<SchemaColumn> getSchema()
A map of key-value pairs representing the columns and data types that this transform can run against. Has an upper bound of 100 columns.
public void setSchema(Collection<SchemaColumn> schema)
A map of key-value pairs representing the columns and data types that this transform can run against. Has an upper bound of 100 columns.
schema
- A map of key-value pairs representing the columns and data types that this transform can run against. Has
an upper bound of 100 columns.public MLTransform withSchema(SchemaColumn... schema)
A map of key-value pairs representing the columns and data types that this transform can run against. Has an upper bound of 100 columns.
NOTE: This method appends the values to the existing list (if any). Use
setSchema(java.util.Collection)
or withSchema(java.util.Collection)
if you want to override the
existing values.
schema
- A map of key-value pairs representing the columns and data types that this transform can run against. Has
an upper bound of 100 columns.public MLTransform withSchema(Collection<SchemaColumn> schema)
A map of key-value pairs representing the columns and data types that this transform can run against. Has an upper bound of 100 columns.
schema
- A map of key-value pairs representing the columns and data types that this transform can run against. Has
an upper bound of 100 columns.public void setRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions required by the transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform.
role
- The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required
permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions
required by the transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform.
public String getRole()
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions required by the transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform.
public MLTransform withRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions required by the transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform.
role
- The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required
permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions
required by the transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform.
public void setGlueVersion(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.
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.public String getGlueVersion()
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.
public MLTransform withGlueVersion(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.
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.public void setMaxCapacity(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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
public Double getMaxCapacity()
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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
public MLTransform withMaxCapacity(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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
public void setWorkerType(String workerType)
The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
workerType
- The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
WorkerType
public String getWorkerType()
The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
WorkerType
public MLTransform withWorkerType(String workerType)
The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
workerType
- The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
WorkerType
public MLTransform withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be
set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be
set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
workerType
- The type of predefined worker that is allocated when a task of this transform 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.
MaxCapacity
is a mutually exclusive option with NumberOfWorkers
and
WorkerType
.
If either NumberOfWorkers
or WorkerType
is set, then MaxCapacity
cannot be set.
If MaxCapacity
is set then neither NumberOfWorkers
or WorkerType
can be set.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
MaxCapacity
and NumberOfWorkers
must both be at least 1.
WorkerType
public void setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined workerType
that are allocated when a task of the transform runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
numberOfWorkers
- The number of workers of a defined workerType
that are allocated when a task of the transform
runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
public Integer getNumberOfWorkers()
The number of workers of a defined workerType
that are allocated when a task of the transform runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
workerType
that are allocated when a task of the
transform runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
public MLTransform withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined workerType
that are allocated when a task of the transform runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
numberOfWorkers
- The number of workers of a defined workerType
that are allocated when a task of the transform
runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
public void setTimeout(Integer timeout)
The timeout in minutes of the machine learning transform.
timeout
- The timeout in minutes of the machine learning transform.public Integer getTimeout()
The timeout in minutes of the machine learning transform.
public MLTransform withTimeout(Integer timeout)
The timeout in minutes of the machine learning transform.
timeout
- The timeout in minutes of the machine learning transform.public void setMaxRetries(Integer maxRetries)
The maximum number of times to retry after an MLTaskRun
of the machine learning transform fails.
maxRetries
- The maximum number of times to retry after an MLTaskRun
of the machine learning transform
fails.public Integer getMaxRetries()
The maximum number of times to retry after an MLTaskRun
of the machine learning transform fails.
MLTaskRun
of the machine learning transform
fails.public MLTransform withMaxRetries(Integer maxRetries)
The maximum number of times to retry after an MLTaskRun
of the machine learning transform fails.
maxRetries
- The maximum number of times to retry after an MLTaskRun
of the machine learning transform
fails.public void setTransformEncryption(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.
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.public TransformEncryption getTransformEncryption()
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.
public MLTransform withTransformEncryption(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.
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.public String toString()
toString
in class Object
Object.toString()
public MLTransform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.