@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransformJobDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Defines the input needed to run a transform job using the inference specification specified in the algorithm.
Constructor and Description |
---|
TransformJobDefinition() |
Modifier and Type | Method and Description |
---|---|
TransformJobDefinition |
addEnvironmentEntry(String key,
String value) |
TransformJobDefinition |
clearEnvironmentEntries()
Removes all the entries added into Environment.
|
TransformJobDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getBatchStrategy()
A string that determines the number of records included in a single mini-batch.
|
Map<String,String> |
getEnvironment()
The environment variables to set in the Docker container.
|
Integer |
getMaxConcurrentTransforms()
The maximum number of parallel requests that can be sent to each instance in a transform job.
|
Integer |
getMaxPayloadInMB()
The maximum payload size allowed, in MB.
|
TransformInput |
getTransformInput()
A description of the input source and the way the transform job consumes it.
|
TransformOutput |
getTransformOutput()
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
|
TransformResources |
getTransformResources()
Identifies the ML compute instances for the transform job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchStrategy(String batchStrategy)
A string that determines the number of records included in a single mini-batch.
|
void |
setEnvironment(Map<String,String> environment)
The environment variables to set in the Docker container.
|
void |
setMaxConcurrentTransforms(Integer maxConcurrentTransforms)
The maximum number of parallel requests that can be sent to each instance in a transform job.
|
void |
setMaxPayloadInMB(Integer maxPayloadInMB)
The maximum payload size allowed, in MB.
|
void |
setTransformInput(TransformInput transformInput)
A description of the input source and the way the transform job consumes it.
|
void |
setTransformOutput(TransformOutput transformOutput)
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
|
void |
setTransformResources(TransformResources transformResources)
Identifies the ML compute instances for the transform job.
|
String |
toString()
Returns a string representation of this object.
|
TransformJobDefinition |
withBatchStrategy(BatchStrategy batchStrategy)
A string that determines the number of records included in a single mini-batch.
|
TransformJobDefinition |
withBatchStrategy(String batchStrategy)
A string that determines the number of records included in a single mini-batch.
|
TransformJobDefinition |
withEnvironment(Map<String,String> environment)
The environment variables to set in the Docker container.
|
TransformJobDefinition |
withMaxConcurrentTransforms(Integer maxConcurrentTransforms)
The maximum number of parallel requests that can be sent to each instance in a transform job.
|
TransformJobDefinition |
withMaxPayloadInMB(Integer maxPayloadInMB)
The maximum payload size allowed, in MB.
|
TransformJobDefinition |
withTransformInput(TransformInput transformInput)
A description of the input source and the way the transform job consumes it.
|
TransformJobDefinition |
withTransformOutput(TransformOutput transformOutput)
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
|
TransformJobDefinition |
withTransformResources(TransformResources transformResources)
Identifies the ML compute instances for the transform job.
|
public void setMaxConcurrentTransforms(Integer maxConcurrentTransforms)
The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.
maxConcurrentTransforms
- The maximum number of parallel requests that can be sent to each instance in a transform job. The default
value is 1.public Integer getMaxConcurrentTransforms()
The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.
public TransformJobDefinition withMaxConcurrentTransforms(Integer maxConcurrentTransforms)
The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.
maxConcurrentTransforms
- The maximum number of parallel requests that can be sent to each instance in a transform job. The default
value is 1.public void setMaxPayloadInMB(Integer maxPayloadInMB)
The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
maxPayloadInMB
- The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).public Integer getMaxPayloadInMB()
The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
public TransformJobDefinition withMaxPayloadInMB(Integer maxPayloadInMB)
The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
maxPayloadInMB
- The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).public void setBatchStrategy(String batchStrategy)
A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
batchStrategy
- A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
BatchStrategy
public String getBatchStrategy()
A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
BatchStrategy
public TransformJobDefinition withBatchStrategy(String batchStrategy)
A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
batchStrategy
- A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
BatchStrategy
public TransformJobDefinition withBatchStrategy(BatchStrategy batchStrategy)
A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
batchStrategy
- A string that determines the number of records included in a single mini-batch.
SingleRecord
means only one record is used per mini-batch. MultiRecord
means a
mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
limit.
BatchStrategy
public Map<String,String> getEnvironment()
The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
public void setEnvironment(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.
environment
- The environment variables to set in the Docker container. We support up to 16 key and values entries in
the map.public TransformJobDefinition withEnvironment(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.
environment
- The environment variables to set in the Docker container. We support up to 16 key and values entries in
the map.public TransformJobDefinition addEnvironmentEntry(String key, String value)
public TransformJobDefinition clearEnvironmentEntries()
public void setTransformInput(TransformInput transformInput)
A description of the input source and the way the transform job consumes it.
transformInput
- A description of the input source and the way the transform job consumes it.public TransformInput getTransformInput()
A description of the input source and the way the transform job consumes it.
public TransformJobDefinition withTransformInput(TransformInput transformInput)
A description of the input source and the way the transform job consumes it.
transformInput
- A description of the input source and the way the transform job consumes it.public void setTransformOutput(TransformOutput transformOutput)
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
transformOutput
- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform
job.public TransformOutput getTransformOutput()
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
public TransformJobDefinition withTransformOutput(TransformOutput transformOutput)
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
transformOutput
- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform
job.public void setTransformResources(TransformResources transformResources)
Identifies the ML compute instances for the transform job.
transformResources
- Identifies the ML compute instances for the transform job.public TransformResources getTransformResources()
Identifies the ML compute instances for the transform job.
public TransformJobDefinition withTransformResources(TransformResources transformResources)
Identifies the ML compute instances for the transform job.
transformResources
- Identifies the ML compute instances for the transform job.public String toString()
toString
in class Object
Object.toString()
public TransformJobDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.