public static final class CfnModelPackage.TransformJobDefinitionProperty.Builder
extends java.lang.Object
CfnModelPackage.TransformJobDefinitionProperty
Constructor and Description |
---|
Builder() |
public CfnModelPackage.TransformJobDefinitionProperty.Builder transformInput(IResolvable transformInput)
CfnModelPackage.TransformJobDefinitionProperty.getTransformInput()
transformInput
- A description of the input source and the way the transform job consumes it. This parameter is required.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder transformInput(CfnModelPackage.TransformInputProperty transformInput)
CfnModelPackage.TransformJobDefinitionProperty.getTransformInput()
transformInput
- A description of the input source and the way the transform job consumes it. This parameter is required.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder transformOutput(IResolvable transformOutput)
CfnModelPackage.TransformJobDefinitionProperty.getTransformOutput()
transformOutput
- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job. This parameter is required.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder transformOutput(CfnModelPackage.TransformOutputProperty transformOutput)
CfnModelPackage.TransformJobDefinitionProperty.getTransformOutput()
transformOutput
- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job. This parameter is required.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder transformResources(IResolvable transformResources)
CfnModelPackage.TransformJobDefinitionProperty.getTransformResources()
transformResources
- Identifies the ML compute instances for the transform job. This parameter is required.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder transformResources(CfnModelPackage.TransformResourcesProperty transformResources)
CfnModelPackage.TransformJobDefinitionProperty.getTransformResources()
transformResources
- Identifies the ML compute instances for the transform job. This parameter is required.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder batchStrategy(java.lang.String batchStrategy)
CfnModelPackage.TransformJobDefinitionProperty.getBatchStrategy()
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.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder environment(IResolvable environment)
CfnModelPackage.TransformJobDefinitionProperty.getEnvironment()
environment
- The environment variables to set in the Docker container.
We support up to 16 key and values entries in the map.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder environment(java.util.Map<java.lang.String,java.lang.String> environment)
CfnModelPackage.TransformJobDefinitionProperty.getEnvironment()
environment
- The environment variables to set in the Docker container.
We support up to 16 key and values entries in the map.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder maxConcurrentTransforms(java.lang.Number maxConcurrentTransforms)
maxConcurrentTransforms
- The maximum number of parallel requests that can be sent to each instance in a transform job.
The default value is 1.this
public CfnModelPackage.TransformJobDefinitionProperty.Builder maxPayloadInMb(java.lang.Number maxPayloadInMb)
CfnModelPackage.TransformJobDefinitionProperty.getMaxPayloadInMb()
maxPayloadInMb
- The maximum payload size allowed, in MB.
A payload is the data portion of a record (without metadata).this
public CfnModelPackage.TransformJobDefinitionProperty build()
CfnModelPackage.TransformJobDefinitionProperty
java.lang.NullPointerException
- if any required attribute was not provided