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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Resource Name (ARN) of the AutoML job that created the transform job.final BatchStrategySpecifies the number of records to include in a mini-batch for an HTTP inference request.final StringSpecifies the number of records to include in a mini-batch for an HTTP inference request.static TransformJob.Builderbuilder()final InstantA timestamp that shows when the transform Job was created.final BatchDataCaptureConfigReturns the value of the DataCaptureConfig property for this object.final DataProcessingReturns the value of the DataProcessing property for this object.The environment variables to set in the Docker container.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExperimentConfigReturns the value of the ExperimentConfig property for this object.final StringIf the transform job failed, the reason it failed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Environment property.final inthashCode()final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final StringThe Amazon Resource Name (ARN) of the labeling job that created the transform job.final IntegerThe maximum number of parallel requests that can be sent to each instance in a transform job.final IntegerThe maximum allowed size of the payload, in MB.final ModelClientConfigReturns the value of the ModelClientConfig property for this object.final StringThe 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 StringtoString()Returns a string representation of this object.final InstantIndicates when the transform job has been completed, or has stopped or failed.final TransformInputReturns the value of the TransformInput property for this object.final StringThe Amazon Resource Name (ARN) of the transform job.final StringThe name of the transform job.final TransformJobStatusThe status of the transform job.final StringThe status of the transform job.final TransformOutputReturns the value of the TransformOutput property for this object.final TransformResourcesReturns the value of the TransformResources property for this object.final InstantIndicates 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 theFailureReasonfield in the response to aDescribeTransformJobcall. -
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,
transformJobStatuswill 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 theFailureReasonfield in the response to aDescribeTransformJobcall. -
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 theFailureReasonfield in the response to aDescribeTransformJobcall. -
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,
transformJobStatuswill 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 theFailureReasonfield in the response to aDescribeTransformJobcall. -
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
MaxConcurrentTransformsis 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
MaxConcurrentTransformsis 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
MaxPayloadInMBmust 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
MaxPayloadInMBmust 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,
batchStrategywill 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,
batchStrategywill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TransformJob.Builder,TransformJob> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-