@Generated(value="software.amazon.awssdk:codegen") public final class TransformJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransformJob.Builder,TransformJob>
A batch transform job. For information about SageMaker batch transform, see Use Batch Transform.
Modifier and Type | Class and Description |
---|---|
static interface |
TransformJob.Builder |
Modifier and Type | Method and Description |
---|---|
String |
autoMLJobArn()
The Amazon Resource Name (ARN) of the AutoML job that created the transform job.
|
BatchStrategy |
batchStrategy()
Specifies the number of records to include in a mini-batch for an HTTP inference request.
|
String |
batchStrategyAsString()
Specifies the number of records to include in a mini-batch for an HTTP inference request.
|
static TransformJob.Builder |
builder() |
Instant |
creationTime()
A timestamp that shows when the transform Job was created.
|
DataProcessing |
dataProcessing()
Returns the value of the DataProcessing property for this object.
|
Map<String,String> |
environment()
The environment variables to set in the Docker container.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExperimentConfig |
experimentConfig()
Returns the value of the ExperimentConfig property for this object.
|
String |
failureReason()
If the transform job failed, the reason it failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEnvironment()
For responses, this returns true if the service returned a value for the Environment property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
labelingJobArn()
The Amazon Resource Name (ARN) of the labeling job that created the transform job.
|
Integer |
maxConcurrentTransforms()
The maximum number of parallel requests that can be sent to each instance in a transform job.
|
Integer |
maxPayloadInMB()
The maximum allowed size of the payload, in MB.
|
ModelClientConfig |
modelClientConfig()
Returns the value of the ModelClientConfig property for this object.
|
String |
modelName()
The name of the model associated with the transform job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransformJob.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A list of tags associated with the transform job.
|
TransformJob.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
transformEndTime()
Indicates when the transform job has been completed, or has stopped or failed.
|
TransformInput |
transformInput()
Returns the value of the TransformInput property for this object.
|
String |
transformJobArn()
The Amazon Resource Name (ARN) of the transform job.
|
String |
transformJobName()
The name of the transform job.
|
TransformJobStatus |
transformJobStatus()
The status of the transform job.
|
String |
transformJobStatusAsString()
The status of the transform job.
|
TransformOutput |
transformOutput()
Returns the value of the TransformOutput property for this object.
|
TransformResources |
transformResources()
Returns the value of the TransformResources property for this object.
|
Instant |
transformStartTime()
Indicates when the transform job starts on ML instances.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String transformJobName()
The name of the transform job.
public final String transformJobArn()
The Amazon Resource Name (ARN) of the transform job.
public final TransformJobStatus transformJobStatus()
The status of the transform job.
Transform job statuses are:
InProgress
- The job is in progress.
Completed
- The job has completed.
Failed
- The transform job has failed. To see the reason for the failure, see the
FailureReason
field in the response to a DescribeTransformJob
call.
Stopping
- The transform job is stopping.
Stopped
- The transform job has stopped.
If the service returns an enum value that is not available in the current SDK version,
transformJobStatus
will return TransformJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from transformJobStatusAsString()
.
Transform job statuses are:
InProgress
- The job is in progress.
Completed
- The job has completed.
Failed
- The transform job has failed. To see the reason for the failure, see the
FailureReason
field in the response to a DescribeTransformJob
call.
Stopping
- The transform job is stopping.
Stopped
- The transform job has stopped.
TransformJobStatus
public final String transformJobStatusAsString()
The status of the transform job.
Transform job statuses are:
InProgress
- The job is in progress.
Completed
- The job has completed.
Failed
- The transform job has failed. To see the reason for the failure, see the
FailureReason
field in the response to a DescribeTransformJob
call.
Stopping
- The transform job is stopping.
Stopped
- The transform job has stopped.
If the service returns an enum value that is not available in the current SDK version,
transformJobStatus
will return TransformJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from transformJobStatusAsString()
.
Transform job statuses are:
InProgress
- The job is in progress.
Completed
- The job has completed.
Failed
- The transform job has failed. To see the reason for the failure, see the
FailureReason
field in the response to a DescribeTransformJob
call.
Stopping
- The transform job is stopping.
Stopped
- The transform job has stopped.
TransformJobStatus
public final String failureReason()
If the transform job failed, the reason it failed.
public final String modelName()
The name of the model associated with the transform job.
public final Integer maxConcurrentTransforms()
The maximum number of parallel requests that can be sent to each instance in a transform job. If
MaxConcurrentTransforms
is set to 0 or left unset, SageMaker checks the optional
execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is
not enabled, the default value is 1. For built-in algorithms, you don't need to set a value for
MaxConcurrentTransforms
.
MaxConcurrentTransforms
is set to 0 or left unset, SageMaker checks the optional
execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters
endpoint is not enabled, the default value is 1. For built-in algorithms, you don't need to set a value
for MaxConcurrentTransforms
.public final ModelClientConfig modelClientConfig()
public final Integer maxPayloadInMB()
The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The
value in MaxPayloadInMB
must be greater than, or equal to, the size of a single record. To estimate
the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records
fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. For
cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value
to 0. This feature works only in supported algorithms. Currently, SageMaker built-in algorithms do not support
HTTP chunked encoding.
MaxPayloadInMB
must be greater than, or equal to, the size of a
single record. To estimate the size of a record in MB, divide the size of your dataset by the number of
records. To ensure that the records fit within the maximum payload size, we recommend using a slightly
larger value. The default value is 6 MB. For cases where the payload might be arbitrarily large and is
transmitted using HTTP chunked encoding, set the value to 0. This feature works only in supported
algorithms. Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.public final BatchStrategy batchStrategy()
Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.
If the service returns an enum value that is not available in the current SDK version, batchStrategy
will return BatchStrategy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
batchStrategyAsString()
.
BatchStrategy
public final String batchStrategyAsString()
Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.
If the service returns an enum value that is not available in the current SDK version, batchStrategy
will return BatchStrategy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
batchStrategyAsString()
.
BatchStrategy
public final boolean hasEnvironment()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> environment()
The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEnvironment()
method.
public final TransformInput transformInput()
public final TransformOutput transformOutput()
public final TransformResources transformResources()
public final Instant creationTime()
A timestamp that shows when the transform Job was created.
public final Instant transformStartTime()
Indicates when the transform job starts on ML instances. You are billed for the time interval between this time
and the value of TransformEndTime
.
TransformEndTime
.public final Instant transformEndTime()
Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time
interval between this time and the value of TransformStartTime
.
TransformStartTime
.public final String labelingJobArn()
The Amazon Resource Name (ARN) of the labeling job that created the transform job.
public final String autoMLJobArn()
The Amazon Resource Name (ARN) of the AutoML job that created the transform job.
public final DataProcessing dataProcessing()
public final ExperimentConfig experimentConfig()
public final boolean hasTags()
isEmpty()
method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
A list of tags associated with the transform job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags()
method.
public TransformJob.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TransformJob.Builder,TransformJob>
public static TransformJob.Builder builder()
public static Class<? extends TransformJob.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.