Class TransformJob
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TransformJob.Builder,
TransformJob>
A batch transform job. For information about SageMaker batch transform, see Use Batch Transform.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The Amazon Resource Name (ARN) of the AutoML job that created the transform job.final BatchStrategy
Specifies the number of records to include in a mini-batch for an HTTP inference request.final String
Specifies the number of records to include in a mini-batch for an HTTP inference request.static TransformJob.Builder
builder()
final Instant
A timestamp that shows when the transform Job was created.final BatchDataCaptureConfig
Returns the value of the DataCaptureConfig property for this object.final DataProcessing
Returns the value of the DataProcessing property for this object.The environment variables to set in the Docker container.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExperimentConfig
Returns the value of the ExperimentConfig property for this object.final String
If the transform job failed, the reason it failed.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the Environment property.final int
hashCode()
final boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.final String
The Amazon Resource Name (ARN) of the labeling job that created the transform job.final Integer
The maximum number of parallel requests that can be sent to each instance in a transform job.final Integer
The maximum allowed size of the payload, in MB.final ModelClientConfig
Returns the value of the ModelClientConfig property for this object.final String
The name of the model associated with the transform job.static Class
<? extends TransformJob.Builder> tags()
A list of tags associated with the transform job.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Instant
Indicates when the transform job has been completed, or has stopped or failed.final TransformInput
Returns the value of the TransformInput property for this object.final String
The Amazon Resource Name (ARN) of the transform job.final String
The name of the transform job.final TransformJobStatus
The status of the transform job.final String
The status of the transform job.final TransformOutput
Returns the value of the TransformOutput property for this object.final TransformResources
Returns the value of the TransformResources property for this object.final Instant
Indicates when the transform job starts on ML instances.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
transformJobName
The name of the transform job.
- Returns:
- The name of the transform job.
-
transformJobArn
The Amazon Resource Name (ARN) of the transform job.
- Returns:
- The Amazon Resource Name (ARN) of the transform job.
-
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 theFailureReason
field in the response to aDescribeTransformJob
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 returnTransformJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtransformJobStatusAsString()
.- Returns:
- 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 theFailureReason
field in the response to aDescribeTransformJob
call. -
Stopping
- The transform job is stopping. -
Stopped
- The transform job has stopped.
-
- See Also:
-
-
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 theFailureReason
field in the response to aDescribeTransformJob
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 returnTransformJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtransformJobStatusAsString()
.- Returns:
- 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 theFailureReason
field in the response to aDescribeTransformJob
call. -
Stopping
- The transform job is stopping. -
Stopped
- The transform job has stopped.
-
- See Also:
-
-
failureReason
If the transform job failed, the reason it failed.
- Returns:
- If the transform job failed, the reason it failed.
-
modelName
The name of the model associated with the transform job.
- Returns:
- The name of the model associated with the transform job.
-
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 forMaxConcurrentTransforms
.- Returns:
- 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 forMaxConcurrentTransforms
.
-
modelClientConfig
Returns the value of the ModelClientConfig property for this object.- Returns:
- The value of the ModelClientConfig property for this object.
-
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.- Returns:
- 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.
-
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 returnBatchStrategy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombatchStrategyAsString()
.- Returns:
- 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.
- See Also:
-
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 returnBatchStrategy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombatchStrategyAsString()
.- Returns:
- 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.
- See Also:
-
hasEnvironment
public final boolean hasEnvironment()For responses, this returns true if the service returned a value for the Environment property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
-
transformInput
Returns the value of the TransformInput property for this object.- Returns:
- The value of the TransformInput property for this object.
-
transformOutput
Returns the value of the TransformOutput property for this object.- Returns:
- The value of the TransformOutput property for this object.
-
dataCaptureConfig
Returns the value of the DataCaptureConfig property for this object.- Returns:
- The value of the DataCaptureConfig property for this object.
-
transformResources
Returns the value of the TransformResources property for this object.- Returns:
- The value of the TransformResources property for this object.
-
creationTime
A timestamp that shows when the transform Job was created.
- Returns:
- A timestamp that shows when the transform Job was created.
-
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
.- Returns:
- 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
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
.- Returns:
- 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
.
-
labelingJobArn
The Amazon Resource Name (ARN) of the labeling job that created the transform job.
- Returns:
- The Amazon Resource Name (ARN) of the labeling job that created the transform job.
-
autoMLJobArn
The Amazon Resource Name (ARN) of the AutoML job that created the transform job.
- Returns:
- The Amazon Resource Name (ARN) of the AutoML job that created the transform job.
-
dataProcessing
Returns the value of the DataProcessing property for this object.- Returns:
- The value of the DataProcessing property for this object.
-
experimentConfig
Returns the value of the ExperimentConfig property for this object.- Returns:
- The value of the ExperimentConfig property for this object.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- A list of tags associated with the transform job.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TransformJob.Builder,
TransformJob> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-