Class CfnProcessingJobMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnProcessingJobMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJobMixinProps>
- Enclosing interface:
CfnProcessingJobMixinProps
@Stability(Stable)
public static final class CfnProcessingJobMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJobMixinProps>
A builder for
CfnProcessingJobMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappSpecification(CfnProcessingJobPropsMixin.AppSpecificationProperty appSpecification) Sets the value ofCfnProcessingJobMixinProps.getAppSpecification()appSpecification(IResolvable appSpecification) Sets the value ofCfnProcessingJobMixinProps.getAppSpecification()build()Builds the configured instance.environment(Map<String, String> environment) Sets the value ofCfnProcessingJobMixinProps.getEnvironment()environment(IResolvable environment) Sets the value ofCfnProcessingJobMixinProps.getEnvironment()experimentConfig(CfnProcessingJobPropsMixin.ExperimentConfigProperty experimentConfig) Sets the value ofCfnProcessingJobMixinProps.getExperimentConfig()experimentConfig(IResolvable experimentConfig) Sets the value ofCfnProcessingJobMixinProps.getExperimentConfig()networkConfig(CfnProcessingJobPropsMixin.NetworkConfigProperty networkConfig) Sets the value ofCfnProcessingJobMixinProps.getNetworkConfig()networkConfig(IResolvable networkConfig) Sets the value ofCfnProcessingJobMixinProps.getNetworkConfig()processingInputs(List<? extends Object> processingInputs) Sets the value ofCfnProcessingJobMixinProps.getProcessingInputs()processingInputs(IResolvable processingInputs) Sets the value ofCfnProcessingJobMixinProps.getProcessingInputs()processingJobName(String processingJobName) Sets the value ofCfnProcessingJobMixinProps.getProcessingJobName()processingOutputConfig(CfnProcessingJobPropsMixin.ProcessingOutputConfigProperty processingOutputConfig) Sets the value ofCfnProcessingJobMixinProps.getProcessingOutputConfig()processingOutputConfig(IResolvable processingOutputConfig) Sets the value ofCfnProcessingJobMixinProps.getProcessingOutputConfig()processingResources(CfnProcessingJobPropsMixin.ProcessingResourcesProperty processingResources) Sets the value ofCfnProcessingJobMixinProps.getProcessingResources()processingResources(IResolvable processingResources) Sets the value ofCfnProcessingJobMixinProps.getProcessingResources()Sets the value ofCfnProcessingJobMixinProps.getRoleArn()stoppingCondition(CfnProcessingJobPropsMixin.StoppingConditionProperty stoppingCondition) Sets the value ofCfnProcessingJobMixinProps.getStoppingCondition()stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnProcessingJobMixinProps.getStoppingCondition()Sets the value ofCfnProcessingJobMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appSpecification
@Stability(Stable) public CfnProcessingJobMixinProps.Builder appSpecification(IResolvable appSpecification) Sets the value ofCfnProcessingJobMixinProps.getAppSpecification()- Parameters:
appSpecification- Configuration to run a processing job in a specified container image.- Returns:
this
-
appSpecification
@Stability(Stable) public CfnProcessingJobMixinProps.Builder appSpecification(CfnProcessingJobPropsMixin.AppSpecificationProperty appSpecification) Sets the value ofCfnProcessingJobMixinProps.getAppSpecification()- Parameters:
appSpecification- Configuration to run a processing job in a specified container image.- Returns:
this
-
environment
@Stability(Stable) public CfnProcessingJobMixinProps.Builder environment(Map<String, String> environment) Sets the value ofCfnProcessingJobMixinProps.getEnvironment()- Parameters:
environment- Sets the environment variables in the Docker container.- Returns:
this
-
environment
Sets the value ofCfnProcessingJobMixinProps.getEnvironment()- Parameters:
environment- Sets the environment variables in the Docker container.- Returns:
this
-
experimentConfig
@Stability(Stable) public CfnProcessingJobMixinProps.Builder experimentConfig(IResolvable experimentConfig) Sets the value ofCfnProcessingJobMixinProps.getExperimentConfig()- Parameters:
experimentConfig- Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the CreateProcessingJob API.- Returns:
this
-
experimentConfig
@Stability(Stable) public CfnProcessingJobMixinProps.Builder experimentConfig(CfnProcessingJobPropsMixin.ExperimentConfigProperty experimentConfig) Sets the value ofCfnProcessingJobMixinProps.getExperimentConfig()- Parameters:
experimentConfig- Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the CreateProcessingJob API.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnProcessingJobMixinProps.Builder networkConfig(IResolvable networkConfig) Sets the value ofCfnProcessingJobMixinProps.getNetworkConfig()- Parameters:
networkConfig- Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnProcessingJobMixinProps.Builder networkConfig(CfnProcessingJobPropsMixin.NetworkConfigProperty networkConfig) Sets the value ofCfnProcessingJobMixinProps.getNetworkConfig()- Parameters:
networkConfig- Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.- Returns:
this
-
processingInputs
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingInputs(IResolvable processingInputs) Sets the value ofCfnProcessingJobMixinProps.getProcessingInputs()- Parameters:
processingInputs- List of input configurations for the processing job.- Returns:
this
-
processingInputs
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingInputs(List<? extends Object> processingInputs) Sets the value ofCfnProcessingJobMixinProps.getProcessingInputs()- Parameters:
processingInputs- List of input configurations for the processing job.- Returns:
this
-
processingJobName
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingJobName(String processingJobName) Sets the value ofCfnProcessingJobMixinProps.getProcessingJobName()- Parameters:
processingJobName- The name of the processing job. If you don't provide a job name, then a unique name is automatically created for the job.- Returns:
this
-
processingOutputConfig
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingOutputConfig(IResolvable processingOutputConfig) Sets the value ofCfnProcessingJobMixinProps.getProcessingOutputConfig()- Parameters:
processingOutputConfig- Contains information about the output location for the compiled model and the target device that the model runs on.TargetDeviceandTargetPlatformare mutually exclusive, so you need to choose one between the two to specify your target device or platform. If you cannot find your device you want to use from theTargetDevicelist, useTargetPlatformto describe the platform of your edge device andCompilerOptionsif there are specific settings that are required or recommended to use for particular TargetPlatform.- Returns:
this
-
processingOutputConfig
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingOutputConfig(CfnProcessingJobPropsMixin.ProcessingOutputConfigProperty processingOutputConfig) Sets the value ofCfnProcessingJobMixinProps.getProcessingOutputConfig()- Parameters:
processingOutputConfig- Contains information about the output location for the compiled model and the target device that the model runs on.TargetDeviceandTargetPlatformare mutually exclusive, so you need to choose one between the two to specify your target device or platform. If you cannot find your device you want to use from theTargetDevicelist, useTargetPlatformto describe the platform of your edge device andCompilerOptionsif there are specific settings that are required or recommended to use for particular TargetPlatform.- Returns:
this
-
processingResources
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingResources(IResolvable processingResources) Sets the value ofCfnProcessingJobMixinProps.getProcessingResources()- Parameters:
processingResources- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.- Returns:
this
-
processingResources
@Stability(Stable) public CfnProcessingJobMixinProps.Builder processingResources(CfnProcessingJobPropsMixin.ProcessingResourcesProperty processingResources) Sets the value ofCfnProcessingJobMixinProps.getProcessingResources()- Parameters:
processingResources- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.- Returns:
this
-
roleArn
Sets the value ofCfnProcessingJobMixinProps.getRoleArn()- Parameters:
roleArn- The ARN of the role used to create the processing job.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnProcessingJobMixinProps.Builder stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnProcessingJobMixinProps.getStoppingCondition()- Parameters:
stoppingCondition- Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. After the condition is met, the processing job is stopped.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnProcessingJobMixinProps.Builder stoppingCondition(CfnProcessingJobPropsMixin.StoppingConditionProperty stoppingCondition) Sets the value ofCfnProcessingJobMixinProps.getStoppingCondition()- Parameters:
stoppingCondition- Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. After the condition is met, the processing job is stopped.- Returns:
this
-
tags
Sets the value ofCfnProcessingJobMixinProps.getTags()- Parameters:
tags- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProcessingJobMixinProps>- Returns:
- a new instance of
CfnProcessingJobMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-