Class CfnTransformJobMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnTransformJobMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformJobMixinProps>
- Enclosing interface:
CfnTransformJobMixinProps
@Stability(Stable)
public static final class CfnTransformJobMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformJobMixinProps>
A builder for
CfnTransformJobMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchStrategy(String batchStrategy) Sets the value ofCfnTransformJobMixinProps.getBatchStrategy()build()Builds the configured instance.dataCaptureConfig(CfnTransformJobPropsMixin.DataCaptureConfigProperty dataCaptureConfig) Sets the value ofCfnTransformJobMixinProps.getDataCaptureConfig()dataCaptureConfig(IResolvable dataCaptureConfig) Sets the value ofCfnTransformJobMixinProps.getDataCaptureConfig()dataProcessing(CfnTransformJobPropsMixin.DataProcessingProperty dataProcessing) Sets the value ofCfnTransformJobMixinProps.getDataProcessing()dataProcessing(IResolvable dataProcessing) Sets the value ofCfnTransformJobMixinProps.getDataProcessing()environment(Map<String, String> environment) Sets the value ofCfnTransformJobMixinProps.getEnvironment()environment(IResolvable environment) Sets the value ofCfnTransformJobMixinProps.getEnvironment()experimentConfig(CfnTransformJobPropsMixin.ExperimentConfigProperty experimentConfig) Sets the value ofCfnTransformJobMixinProps.getExperimentConfig()experimentConfig(IResolvable experimentConfig) Sets the value ofCfnTransformJobMixinProps.getExperimentConfig()maxConcurrentTransforms(Number maxConcurrentTransforms) Sets the value ofCfnTransformJobMixinProps.getMaxConcurrentTransforms()maxPayloadInMb(Number maxPayloadInMb) Sets the value ofCfnTransformJobMixinProps.getMaxPayloadInMb()modelClientConfig(CfnTransformJobPropsMixin.ModelClientConfigProperty modelClientConfig) Sets the value ofCfnTransformJobMixinProps.getModelClientConfig()modelClientConfig(IResolvable modelClientConfig) Sets the value ofCfnTransformJobMixinProps.getModelClientConfig()Sets the value ofCfnTransformJobMixinProps.getModelName()tags(List<? extends CfnTransformJobPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnTransformJobMixinProps.getTags()transformInput(CfnTransformJobPropsMixin.TransformInputProperty transformInput) Sets the value ofCfnTransformJobMixinProps.getTransformInput()transformInput(IResolvable transformInput) Sets the value ofCfnTransformJobMixinProps.getTransformInput()transformOutput(CfnTransformJobPropsMixin.TransformOutputProperty transformOutput) Sets the value ofCfnTransformJobMixinProps.getTransformOutput()transformOutput(IResolvable transformOutput) Sets the value ofCfnTransformJobMixinProps.getTransformOutput()transformResources(CfnTransformJobPropsMixin.TransformResourcesProperty transformResources) Sets the value ofCfnTransformJobMixinProps.getTransformResources()transformResources(IResolvable transformResources) Sets the value ofCfnTransformJobMixinProps.getTransformResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchStrategy
Sets the value ofCfnTransformJobMixinProps.getBatchStrategy()- Parameters:
batchStrategy- Specifies the number of records to include in a mini-batch for an HTTP inference request.- Returns:
this
-
dataCaptureConfig
@Stability(Stable) public CfnTransformJobMixinProps.Builder dataCaptureConfig(IResolvable dataCaptureConfig) Sets the value ofCfnTransformJobMixinProps.getDataCaptureConfig()- Parameters:
dataCaptureConfig- Configuration to control how SageMaker captures inference data.- Returns:
this
-
dataCaptureConfig
@Stability(Stable) public CfnTransformJobMixinProps.Builder dataCaptureConfig(CfnTransformJobPropsMixin.DataCaptureConfigProperty dataCaptureConfig) Sets the value ofCfnTransformJobMixinProps.getDataCaptureConfig()- Parameters:
dataCaptureConfig- Configuration to control how SageMaker captures inference data.- Returns:
this
-
dataProcessing
@Stability(Stable) public CfnTransformJobMixinProps.Builder dataProcessing(IResolvable dataProcessing) Sets the value ofCfnTransformJobMixinProps.getDataProcessing()- Parameters:
dataProcessing- The data structure used to specify the data to be used for inference in a batch transform job.- Returns:
this
-
dataProcessing
@Stability(Stable) public CfnTransformJobMixinProps.Builder dataProcessing(CfnTransformJobPropsMixin.DataProcessingProperty dataProcessing) Sets the value ofCfnTransformJobMixinProps.getDataProcessing()- Parameters:
dataProcessing- The data structure used to specify the data to be used for inference in a batch transform job.- Returns:
this
-
environment
Sets the value ofCfnTransformJobMixinProps.getEnvironment()- Parameters:
environment- The environment variables to set in the Docker container.- Returns:
this
-
environment
@Stability(Stable) public CfnTransformJobMixinProps.Builder environment(Map<String, String> environment) Sets the value ofCfnTransformJobMixinProps.getEnvironment()- Parameters:
environment- The environment variables to set in the Docker container.- Returns:
this
-
experimentConfig
@Stability(Stable) public CfnTransformJobMixinProps.Builder experimentConfig(IResolvable experimentConfig) Sets the value ofCfnTransformJobMixinProps.getExperimentConfig()- Parameters:
experimentConfig- Associates a SageMaker job as a trial component with an experiment and trial.- Returns:
this
-
experimentConfig
@Stability(Stable) public CfnTransformJobMixinProps.Builder experimentConfig(CfnTransformJobPropsMixin.ExperimentConfigProperty experimentConfig) Sets the value ofCfnTransformJobMixinProps.getExperimentConfig()- Parameters:
experimentConfig- Associates a SageMaker job as a trial component with an experiment and trial.- Returns:
this
-
maxConcurrentTransforms
@Stability(Stable) public CfnTransformJobMixinProps.Builder maxConcurrentTransforms(Number maxConcurrentTransforms) Sets the value ofCfnTransformJobMixinProps.getMaxConcurrentTransforms()- Parameters:
maxConcurrentTransforms- The maximum number of parallel requests that can be sent to each instance in a transform job.- Returns:
this
-
maxPayloadInMb
Sets the value ofCfnTransformJobMixinProps.getMaxPayloadInMb()- Parameters:
maxPayloadInMb- The maximum allowed size of the payload, in MB.- Returns:
this
-
modelClientConfig
@Stability(Stable) public CfnTransformJobMixinProps.Builder modelClientConfig(IResolvable modelClientConfig) Sets the value ofCfnTransformJobMixinProps.getModelClientConfig()- Parameters:
modelClientConfig- Configures the timeout and maximum number of retries for processing a transform job invocation.- Returns:
this
-
modelClientConfig
@Stability(Stable) public CfnTransformJobMixinProps.Builder modelClientConfig(CfnTransformJobPropsMixin.ModelClientConfigProperty modelClientConfig) Sets the value ofCfnTransformJobMixinProps.getModelClientConfig()- Parameters:
modelClientConfig- Configures the timeout and maximum number of retries for processing a transform job invocation.- Returns:
this
-
modelName
Sets the value ofCfnTransformJobMixinProps.getModelName()- Parameters:
modelName- The name of the model that you want to use for the transform job.- Returns:
this
-
tags
@Stability(Stable) public CfnTransformJobMixinProps.Builder tags(List<? extends CfnTransformJobPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnTransformJobMixinProps.getTags()- Parameters:
tags- An array of key-value pairs.- Returns:
this
-
transformInput
@Stability(Stable) public CfnTransformJobMixinProps.Builder transformInput(IResolvable transformInput) Sets the value ofCfnTransformJobMixinProps.getTransformInput()- Parameters:
transformInput- Describes the input source and the way the transform job consumes it.- Returns:
this
-
transformInput
@Stability(Stable) public CfnTransformJobMixinProps.Builder transformInput(CfnTransformJobPropsMixin.TransformInputProperty transformInput) Sets the value ofCfnTransformJobMixinProps.getTransformInput()- Parameters:
transformInput- Describes the input source and the way the transform job consumes it.- Returns:
this
-
transformOutput
@Stability(Stable) public CfnTransformJobMixinProps.Builder transformOutput(IResolvable transformOutput) Sets the value ofCfnTransformJobMixinProps.getTransformOutput()- Parameters:
transformOutput- Describes the results of the transform job.- Returns:
this
-
transformOutput
@Stability(Stable) public CfnTransformJobMixinProps.Builder transformOutput(CfnTransformJobPropsMixin.TransformOutputProperty transformOutput) Sets the value ofCfnTransformJobMixinProps.getTransformOutput()- Parameters:
transformOutput- Describes the results of the transform job.- Returns:
this
-
transformResources
@Stability(Stable) public CfnTransformJobMixinProps.Builder transformResources(IResolvable transformResources) Sets the value ofCfnTransformJobMixinProps.getTransformResources()- Parameters:
transformResources- Describes the resources, including ML instance types and ML instance count, to use for the transform job.- Returns:
this
-
transformResources
@Stability(Stable) public CfnTransformJobMixinProps.Builder transformResources(CfnTransformJobPropsMixin.TransformResourcesProperty transformResources) Sets the value ofCfnTransformJobMixinProps.getTransformResources()- Parameters:
transformResources- Describes the resources, including ML instance types and ML instance count, to use for the transform job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformJobMixinProps>- Returns:
- a new instance of
CfnTransformJobMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-