Class CfnProcessingJob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob>
- Enclosing class:
CfnProcessingJob
CfnProcessingJob
.-
Method Summary
Modifier and TypeMethodDescriptionappSpecification
(IResolvable appSpecification) Configuration to run a processing job in a specified container image.appSpecification
(CfnProcessingJob.AppSpecificationProperty appSpecification) Configuration to run a processing job in a specified container image.build()
static CfnProcessingJob.Builder
environment
(Map<String, String> environment) Sets the environment variables in the Docker container.environment
(IResolvable environment) Sets the environment variables in the Docker container.experimentConfig
(IResolvable experimentConfig) Associates a SageMaker job as a trial component with an experiment and trial.experimentConfig
(CfnProcessingJob.ExperimentConfigProperty experimentConfig) Associates a SageMaker job as a trial component with an experiment and trial.networkConfig
(IResolvable 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.networkConfig
(CfnProcessingJob.NetworkConfigProperty 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.processingInputs
(List<? extends Object> processingInputs) List of input configurations for the processing job.processingInputs
(IResolvable processingInputs) List of input configurations for the processing job.processingJobName
(String processingJobName) The name of the processing job.processingOutputConfig
(IResolvable processingOutputConfig) Contains information about the output location for the compiled model and the target device that the model runs on.processingOutputConfig
(CfnProcessingJob.ProcessingOutputConfigProperty processingOutputConfig) Contains information about the output location for the compiled model and the target device that the model runs on.processingResources
(IResolvable processingResources) Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job.processingResources
(CfnProcessingJob.ProcessingResourcesProperty processingResources) Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job.The ARN of the role used to create the processing job.stoppingCondition
(IResolvable stoppingCondition) Configures conditions under which the processing job should be stopped, such as how long the processing job has been running.stoppingCondition
(CfnProcessingJob.StoppingConditionProperty stoppingCondition) Configures conditions under which the processing job should be stopped, such as how long the processing job has been running.An array of key-value pairs.
-
Method Details
-
create
@Stability(Stable) public static CfnProcessingJob.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
CfnProcessingJob.Builder
.
-
appSpecification
Configuration to run a processing job in a specified container image.- Parameters:
appSpecification
- Configuration to run a processing job in a specified container image. This parameter is required.- Returns:
this
- See Also:
-
appSpecification
@Stability(Stable) public CfnProcessingJob.Builder appSpecification(CfnProcessingJob.AppSpecificationProperty appSpecification) Configuration to run a processing job in a specified container image.- Parameters:
appSpecification
- Configuration to run a processing job in a specified container image. This parameter is required.- Returns:
this
- See Also:
-
processingResources
@Stability(Stable) public CfnProcessingJob.Builder processingResources(IResolvable 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.
- Parameters:
processingResources
- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. This parameter is required.- Returns:
this
- See Also:
-
processingResources
@Stability(Stable) public CfnProcessingJob.Builder processingResources(CfnProcessingJob.ProcessingResourcesProperty 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.
- Parameters:
processingResources
- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. This parameter is required.- Returns:
this
- See Also:
-
roleArn
The ARN of the role used to create the processing job.- Parameters:
roleArn
- The ARN of the role used to create the processing job. This parameter is required.- Returns:
this
- See Also:
-
environment
Sets the environment variables in the Docker container.- Parameters:
environment
- Sets the environment variables in the Docker container. This parameter is required.- Returns:
this
- See Also:
-
environment
Sets the environment variables in the Docker container.- Parameters:
environment
- Sets the environment variables 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.Specified when you call the CreateProcessingJob API.
- 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 CfnProcessingJob.Builder experimentConfig(CfnProcessingJob.ExperimentConfigProperty experimentConfig) Associates a SageMaker job as a trial component with an experiment and trial.Specified when you call the CreateProcessingJob API.
- Parameters:
experimentConfig
- Associates a SageMaker job as a trial component with an experiment and trial. This parameter is required.- Returns:
this
- See Also:
-
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.- 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. This parameter is required.- Returns:
this
- See Also:
-
networkConfig
@Stability(Stable) public CfnProcessingJob.Builder networkConfig(CfnProcessingJob.NetworkConfigProperty 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.- 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. This parameter is required.- Returns:
this
- See Also:
-
processingInputs
List of input configurations for the processing job.- Parameters:
processingInputs
- List of input configurations for the processing job. This parameter is required.- Returns:
this
- See Also:
-
processingInputs
@Stability(Stable) public CfnProcessingJob.Builder processingInputs(List<? extends Object> processingInputs) List of input configurations for the processing job.- Parameters:
processingInputs
- List of input configurations for the processing job. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
processingJobName
- The name of the processing job. This parameter is required.- Returns:
this
- See Also:
-
processingOutputConfig
@Stability(Stable) public CfnProcessingJob.Builder processingOutputConfig(IResolvable processingOutputConfig) Contains information about the output location for the compiled model and the target device that the model runs on.TargetDevice
andTargetPlatform
are 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 theTargetDevice
list, useTargetPlatform
to describe the platform of your edge device andCompilerOptions
if there are specific settings that are required or recommended to use for particular TargetPlatform.- Parameters:
processingOutputConfig
- Contains information about the output location for the compiled model and the target device that the model runs on. This parameter is required.- Returns:
this
- See Also:
-
processingOutputConfig
@Stability(Stable) public CfnProcessingJob.Builder processingOutputConfig(CfnProcessingJob.ProcessingOutputConfigProperty processingOutputConfig) Contains information about the output location for the compiled model and the target device that the model runs on.TargetDevice
andTargetPlatform
are 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 theTargetDevice
list, useTargetPlatform
to describe the platform of your edge device andCompilerOptions
if there are specific settings that are required or recommended to use for particular TargetPlatform.- Parameters:
processingOutputConfig
- Contains information about the output location for the compiled model and the target device that the model runs on. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
stoppingCondition
- Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. This parameter is required.- Returns:
this
- See Also:
-
stoppingCondition
@Stability(Stable) public CfnProcessingJob.Builder stoppingCondition(CfnProcessingJob.StoppingConditionProperty 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.
- Parameters:
stoppingCondition
- Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs.For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
- Parameters:
tags
- An array of key-value pairs. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProcessingJob>
- Returns:
- a newly built instance of
CfnProcessingJob
.
-