@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMLTransformRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMLTransformRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMLTransformRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the machine learning transform that is being defined.
|
String |
getGlueVersion()
This value determines which version of AWS Glue this machine learning transform is compatible with.
|
List<GlueTable> |
getInputRecordTables()
A list of AWS Glue table definitions used by the transform.
|
Double |
getMaxCapacity()
The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform.
|
Integer |
getMaxRetries()
The maximum number of times to retry a task for this transform after a task run fails.
|
String |
getName()
The unique name that you give the transform when you create it.
|
Integer |
getNumberOfWorkers()
The number of workers of a defined
workerType that are allocated when this task runs. |
TransformParameters |
getParameters()
The algorithmic parameters that are specific to the transform type used.
|
String |
getRole()
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
|
Integer |
getTimeout()
The timeout of the task run for this transform in minutes.
|
String |
getWorkerType()
The type of predefined worker that is allocated when this task runs.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the machine learning transform that is being defined.
|
void |
setGlueVersion(String glueVersion)
This value determines which version of AWS Glue this machine learning transform is compatible with.
|
void |
setInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of AWS Glue table definitions used by the transform.
|
void |
setMaxCapacity(Double maxCapacity)
The number of AWS 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 a task for this transform after a task run fails.
|
void |
setName(String name)
The unique name that you give the transform when you create it.
|
void |
setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerType that are allocated when this task runs. |
void |
setParameters(TransformParameters parameters)
The algorithmic parameters that are specific to the transform type used.
|
void |
setRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
|
void |
setTimeout(Integer timeout)
The timeout of the task run for this transform in minutes.
|
void |
setWorkerType(String workerType)
The type of predefined worker that is allocated when this task runs.
|
String |
toString()
Returns a string representation of this object.
|
CreateMLTransformRequest |
withDescription(String description)
A description of the machine learning transform that is being defined.
|
CreateMLTransformRequest |
withGlueVersion(String glueVersion)
This value determines which version of AWS Glue this machine learning transform is compatible with.
|
CreateMLTransformRequest |
withInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of AWS Glue table definitions used by the transform.
|
CreateMLTransformRequest |
withInputRecordTables(GlueTable... inputRecordTables)
A list of AWS Glue table definitions used by the transform.
|
CreateMLTransformRequest |
withMaxCapacity(Double maxCapacity)
The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform.
|
CreateMLTransformRequest |
withMaxRetries(Integer maxRetries)
The maximum number of times to retry a task for this transform after a task run fails.
|
CreateMLTransformRequest |
withName(String name)
The unique name that you give the transform when you create it.
|
CreateMLTransformRequest |
withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerType that are allocated when this task runs. |
CreateMLTransformRequest |
withParameters(TransformParameters parameters)
The algorithmic parameters that are specific to the transform type used.
|
CreateMLTransformRequest |
withRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
|
CreateMLTransformRequest |
withTimeout(Integer timeout)
The timeout of the task run for this transform in minutes.
|
CreateMLTransformRequest |
withWorkerType(String workerType)
The type of predefined worker that is allocated when this task runs.
|
CreateMLTransformRequest |
withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when this task runs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The unique name that you give the transform when you create it.
name
- The unique name that you give the transform when you create it.public String getName()
The unique name that you give the transform when you create it.
public CreateMLTransformRequest withName(String name)
The unique name that you give the transform when you create it.
name
- The unique name that you give the transform when you create it.public void setDescription(String description)
A description of the machine learning transform that is being defined. The default is an empty string.
description
- A description of the machine learning transform that is being defined. The default is an empty string.public String getDescription()
A description of the machine learning transform that is being defined. The default is an empty string.
public CreateMLTransformRequest withDescription(String description)
A description of the machine learning transform that is being defined. The default is an empty string.
description
- A description of the machine learning transform that is being defined. The default is an empty string.public List<GlueTable> getInputRecordTables()
A list of AWS Glue table definitions used by the transform.
public void setInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of AWS Glue table definitions used by the transform.
inputRecordTables
- A list of AWS Glue table definitions used by the transform.public CreateMLTransformRequest withInputRecordTables(GlueTable... inputRecordTables)
A list of AWS 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 AWS Glue table definitions used by the transform.public CreateMLTransformRequest withInputRecordTables(Collection<GlueTable> inputRecordTables)
A list of AWS Glue table definitions used by the transform.
inputRecordTables
- A list of AWS Glue table definitions used by the transform.public void setParameters(TransformParameters parameters)
The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type.
parameters
- The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the
transform type.public TransformParameters getParameters()
The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type.
public CreateMLTransformRequest withParameters(TransformParameters parameters)
The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type.
parameters
- The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the
transform type.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 AWS Glue service role permissions to AWS Glue resources, and Amazon S3 permissions required by the transform.
This role needs AWS Glue service role permissions to allow access to resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS 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 AWS Glue service role permissions to AWS Glue resources, and Amazon S3
permissions required by the transform.
This role needs AWS Glue service role permissions to allow access to resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS 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 AWS Glue service role permissions to AWS Glue resources, and Amazon S3 permissions required by the transform.
This role needs AWS Glue service role permissions to allow access to resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS 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 AWS Glue service role permissions to allow access to resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS 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 CreateMLTransformRequest withRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required permissions include both AWS Glue service role permissions to AWS Glue resources, and Amazon S3 permissions required by the transform.
This role needs AWS Glue service role permissions to allow access to resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS 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 AWS Glue service role permissions to AWS Glue resources, and Amazon S3
permissions required by the transform.
This role needs AWS Glue service role permissions to allow access to resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS 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 AWS 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 AWS Glue Versions in the developer guide.
glueVersion
- This value determines which version of AWS 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 AWS Glue
Versions in the developer guide.public String getGlueVersion()
This value determines which version of AWS 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 AWS Glue Versions in the developer guide.
public CreateMLTransformRequest withGlueVersion(String glueVersion)
This value determines which version of AWS 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 AWS Glue Versions in the developer guide.
glueVersion
- This value determines which version of AWS 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 AWS Glue
Versions in the developer guide.public void setMaxCapacity(Double maxCapacity)
The number of AWS 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 AWS 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.
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 AWS 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 AWS 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.
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 AWS 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 AWS 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.
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.
When the WorkerType
field is set to a value other than Standard
, the
MaxCapacity
field is set automatically and becomes read-only.
public CreateMLTransformRequest withMaxCapacity(Double maxCapacity)
The number of AWS 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 AWS 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.
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 AWS 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 AWS 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.
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 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.
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 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.
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 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.
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 CreateMLTransformRequest withWorkerType(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.
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 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.
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 CreateMLTransformRequest withWorkerType(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.
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 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.
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 this task 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 this task 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 this task runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
workerType
that are allocated when this task runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
public CreateMLTransformRequest withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined workerType
that are allocated when this task 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 this task runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
public void setTimeout(Integer timeout)
The timeout of the 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).
timeout
- The timeout of the 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).public Integer getTimeout()
The timeout of the 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).
TIMEOUT
status. The
default is 2,880 minutes (48 hours).public CreateMLTransformRequest withTimeout(Integer timeout)
The timeout of the 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).
timeout
- The timeout of the 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).public void setMaxRetries(Integer maxRetries)
The maximum number of times to retry a task for this transform after a task run fails.
maxRetries
- The maximum number of times to retry a task for this transform after a task run fails.public Integer getMaxRetries()
The maximum number of times to retry a task for this transform after a task run fails.
public CreateMLTransformRequest withMaxRetries(Integer maxRetries)
The maximum number of times to retry a task for this transform after a task run fails.
maxRetries
- The maximum number of times to retry a task for this transform after a task run fails.public String toString()
toString
in class Object
Object.toString()
public CreateMLTransformRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.