Class CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackagePropsMixin.TransformJobDefinitionProperty>
- Enclosing interface:
CfnModelPackagePropsMixin.TransformJobDefinitionProperty
@Stability(Stable)
public static final class CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackagePropsMixin.TransformJobDefinitionProperty>
A builder for
CfnModelPackagePropsMixin.TransformJobDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchStrategy(String batchStrategy) build()Builds the configured instance.environment(Map<String, String> environment) environment(IResolvable environment) maxConcurrentTransforms(Number maxConcurrentTransforms) maxPayloadInMb(Number maxPayloadInMb) transformInput(CfnModelPackagePropsMixin.TransformInputProperty transformInput) transformInput(IResolvable transformInput) transformOutput(CfnModelPackagePropsMixin.TransformOutputProperty transformOutput) transformOutput(IResolvable transformOutput) transformResources(CfnModelPackagePropsMixin.TransformResourcesProperty transformResources) transformResources(IResolvable transformResources)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchStrategy
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder batchStrategy(String batchStrategy) - Parameters:
batchStrategy- A string that determines the number of records included in a single mini-batch.SingleRecordmeans only one record is used per mini-batch.MultiRecordmeans a mini-batch is set to contain as many records that can fit within theMaxPayloadInMBlimit.- Returns:
this
-
environment
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder environment(Map<String, String> environment) - Parameters:
environment- The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.- Returns:
this
-
environment
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder environment(IResolvable environment) - Parameters:
environment- The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.- Returns:
this
-
maxConcurrentTransforms
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder maxConcurrentTransforms(Number maxConcurrentTransforms) Sets the value ofCfnModelPackagePropsMixin.TransformJobDefinitionProperty.getMaxConcurrentTransforms()- Parameters:
maxConcurrentTransforms- The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.- Returns:
this
-
maxPayloadInMb
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder maxPayloadInMb(Number maxPayloadInMb) - Parameters:
maxPayloadInMb- The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).- Returns:
this
-
transformInput
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder transformInput(IResolvable transformInput) - Parameters:
transformInput- A description of the input source and the way the transform job consumes it.- Returns:
this
-
transformInput
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder transformInput(CfnModelPackagePropsMixin.TransformInputProperty transformInput) - Parameters:
transformInput- A description of the input source and the way the transform job consumes it.- Returns:
this
-
transformOutput
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder transformOutput(IResolvable transformOutput) - Parameters:
transformOutput- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.- Returns:
this
-
transformOutput
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder transformOutput(CfnModelPackagePropsMixin.TransformOutputProperty transformOutput) - Parameters:
transformOutput- Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.- Returns:
this
-
transformResources
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder transformResources(IResolvable transformResources) - Parameters:
transformResources- Identifies the ML compute instances for the transform job.- Returns:
this
-
transformResources
@Stability(Stable) public CfnModelPackagePropsMixin.TransformJobDefinitionProperty.Builder transformResources(CfnModelPackagePropsMixin.TransformResourcesProperty transformResources) - Parameters:
transformResources- Identifies the ML compute instances for the transform job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPackagePropsMixin.TransformJobDefinitionProperty>- Returns:
- a new instance of
CfnModelPackagePropsMixin.TransformJobDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-