Class CfnTransformJob.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnTransformJob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformJob>
- Enclosing class:
CfnTransformJob
@Stability(Stable)
public static final class CfnTransformJob.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformJob>
A fluent builder for
CfnTransformJob.-
Method Summary
Modifier and TypeMethodDescriptionbatchStrategy(String batchStrategy) Specifies the number of records to include in a mini-batch for an HTTP inference request.build()static CfnTransformJob.BuilderdataCaptureConfig(IResolvable dataCaptureConfig) Configuration to control how SageMaker captures inference data.dataCaptureConfig(CfnTransformJob.DataCaptureConfigProperty dataCaptureConfig) Configuration to control how SageMaker captures inference data.dataProcessing(IResolvable dataProcessing) The data structure used to specify the data to be used for inference in a batch transform job.dataProcessing(CfnTransformJob.DataProcessingProperty dataProcessing) The data structure used to specify the data to be used for inference in a batch transform job.environment(Map<String, String> environment) The environment variables to set in the Docker container.environment(IResolvable environment) The environment variables to set in the Docker container.experimentConfig(IResolvable experimentConfig) Associates a SageMaker job as a trial component with an experiment and trial.experimentConfig(CfnTransformJob.ExperimentConfigProperty experimentConfig) Associates a SageMaker job as a trial component with an experiment and trial.maxConcurrentTransforms(Number maxConcurrentTransforms) The maximum number of parallel requests that can be sent to each instance in a transform job.maxPayloadInMb(Number maxPayloadInMb) The maximum allowed size of the payload, in MB.modelClientConfig(IResolvable modelClientConfig) Configures the timeout and maximum number of retries for processing a transform job invocation.modelClientConfig(CfnTransformJob.ModelClientConfigProperty modelClientConfig) Configures the timeout and maximum number of retries for processing a transform job invocation.The name of the model that you want to use for the transform job.tags(List<? extends CfnTransformJob.TagsItemsProperty> tags) An array of key-value pairs.transformInput(IResolvable transformInput) Describes the input source and the way the transform job consumes it.transformInput(CfnTransformJob.TransformInputProperty transformInput) Describes the input source and the way the transform job consumes it.transformOutput(IResolvable transformOutput) Describes the results of the transform job.transformOutput(CfnTransformJob.TransformOutputProperty transformOutput) Describes the results of the transform job.transformResources(IResolvable transformResources) Describes the resources, including ML instance types and ML instance count, to use for the transform job.transformResources(CfnTransformJob.TransformResourcesProperty transformResources) Describes the resources, including ML instance types and ML instance count, to use for the transform job.
-
Method Details
-
create
@Stability(Stable) public static CfnTransformJob.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTransformJob.Builder.
-
modelName
The name of the model that you want to use for the transform job.- Parameters:
modelName- The name of the model that you want to use for the transform job. This parameter is required.- Returns:
this- See Also:
-
transformInput
Describes the input source and the way the transform job consumes it.- Parameters:
transformInput- Describes the input source and the way the transform job consumes it. This parameter is required.- Returns:
this- See Also:
-
transformInput
@Stability(Stable) public CfnTransformJob.Builder transformInput(CfnTransformJob.TransformInputProperty transformInput) Describes the input source and the way the transform job consumes it.- Parameters:
transformInput- Describes the input source and the way the transform job consumes it. This parameter is required.- Returns:
this- See Also:
-
transformOutput
Describes the results of the transform job.- Parameters:
transformOutput- Describes the results of the transform job. This parameter is required.- Returns:
this- See Also:
-
transformOutput
@Stability(Stable) public CfnTransformJob.Builder transformOutput(CfnTransformJob.TransformOutputProperty transformOutput) Describes the results of the transform job.- Parameters:
transformOutput- Describes the results of the transform job. This parameter is required.- Returns:
this- See Also:
-
transformResources
@Stability(Stable) public CfnTransformJob.Builder transformResources(IResolvable transformResources) Describes the resources, including ML instance types and ML instance count, to use for the transform job.- Parameters:
transformResources- Describes the resources, including ML instance types and ML instance count, to use for the transform job. This parameter is required.- Returns:
this- See Also:
-
transformResources
@Stability(Stable) public CfnTransformJob.Builder transformResources(CfnTransformJob.TransformResourcesProperty transformResources) Describes the resources, including ML instance types and ML instance count, to use for the transform job.- Parameters:
transformResources- Describes the resources, including ML instance types and ML instance count, to use for the transform job. This parameter is required.- Returns:
this- See Also:
-
batchStrategy
Specifies the number of records to include in a mini-batch for an HTTP inference request.- Parameters:
batchStrategy- Specifies the number of records to include in a mini-batch for an HTTP inference request. This parameter is required.- Returns:
this- See Also:
-
dataCaptureConfig
Configuration to control how SageMaker captures inference data.- Parameters:
dataCaptureConfig- Configuration to control how SageMaker captures inference data. This parameter is required.- Returns:
this- See Also:
-
dataCaptureConfig
@Stability(Stable) public CfnTransformJob.Builder dataCaptureConfig(CfnTransformJob.DataCaptureConfigProperty dataCaptureConfig) Configuration to control how SageMaker captures inference data.- Parameters:
dataCaptureConfig- Configuration to control how SageMaker captures inference data. This parameter is required.- Returns:
this- See Also:
-
dataProcessing
The data structure used to specify the data to be used for inference in a batch transform job.- Parameters:
dataProcessing- The data structure used to specify the data to be used for inference in a batch transform job. This parameter is required.- Returns:
this- See Also:
-
dataProcessing
@Stability(Stable) public CfnTransformJob.Builder dataProcessing(CfnTransformJob.DataProcessingProperty dataProcessing) The data structure used to specify the data to be used for inference in a batch transform job.- Parameters:
dataProcessing- The data structure used to specify the data to be used for inference in a batch transform job. This parameter is required.- Returns:
this- See Also:
-
environment
The environment variables to set in the Docker container.- Parameters:
environment- The environment variables to set in the Docker container. This parameter is required.- Returns:
this- See Also:
-
environment
The environment variables to set in the Docker container.- Parameters:
environment- The environment variables to set in the Docker container. This parameter is required.- Returns:
this- See Also:
-
experimentConfig
Associates a SageMaker job as a trial component with an experiment and trial.- Parameters:
experimentConfig- Associates a SageMaker job as a trial component with an experiment and trial. This parameter is required.- Returns:
this- See Also:
-
experimentConfig
@Stability(Stable) public CfnTransformJob.Builder experimentConfig(CfnTransformJob.ExperimentConfigProperty experimentConfig) Associates a SageMaker job as a trial component with an experiment and trial.- Parameters:
experimentConfig- Associates a SageMaker job as a trial component with an experiment and trial. This parameter is required.- Returns:
this- See Also:
-
maxConcurrentTransforms
@Stability(Stable) public CfnTransformJob.Builder maxConcurrentTransforms(Number maxConcurrentTransforms) The maximum number of parallel requests that can be sent to each instance in a transform job.- Parameters:
maxConcurrentTransforms- The maximum number of parallel requests that can be sent to each instance in a transform job. This parameter is required.- Returns:
this- See Also:
-
maxPayloadInMb
The maximum allowed size of the payload, in MB.- Parameters:
maxPayloadInMb- The maximum allowed size of the payload, in MB. This parameter is required.- Returns:
this- See Also:
-
modelClientConfig
Configures the timeout and maximum number of retries for processing a transform job invocation.- Parameters:
modelClientConfig- Configures the timeout and maximum number of retries for processing a transform job invocation. This parameter is required.- Returns:
this- See Also:
-
modelClientConfig
@Stability(Stable) public CfnTransformJob.Builder modelClientConfig(CfnTransformJob.ModelClientConfigProperty modelClientConfig) Configures the timeout and maximum number of retries for processing a transform job invocation.- Parameters:
modelClientConfig- Configures the timeout and maximum number of retries for processing a transform job invocation. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnTransformJob.Builder tags(List<? extends CfnTransformJob.TagsItemsProperty> tags) An array of key-value pairs.- Parameters:
tags- An array of key-value pairs. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformJob>- Returns:
- a newly built instance of
CfnTransformJob.
-