Class CfnProcessingJob.ProcessingResourcesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.ProcessingResourcesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.ProcessingResourcesProperty>
- Enclosing interface:
CfnProcessingJob.ProcessingResourcesProperty
@Stability(Stable)
public static final class CfnProcessingJob.ProcessingResourcesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.ProcessingResourcesProperty>
A builder for
CfnProcessingJob.ProcessingResourcesProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clusterConfig
(IResolvable clusterConfig) Sets the value ofCfnProcessingJob.ProcessingResourcesProperty.getClusterConfig()
clusterConfig
(CfnProcessingJob.ClusterConfigProperty clusterConfig) Sets the value ofCfnProcessingJob.ProcessingResourcesProperty.getClusterConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterConfig
@Stability(Stable) public CfnProcessingJob.ProcessingResourcesProperty.Builder clusterConfig(IResolvable clusterConfig) Sets the value ofCfnProcessingJob.ProcessingResourcesProperty.getClusterConfig()
- Parameters:
clusterConfig
- The configuration for the resources in a cluster used to run the processing job. This parameter is required.- Returns:
this
-
clusterConfig
@Stability(Stable) public CfnProcessingJob.ProcessingResourcesProperty.Builder clusterConfig(CfnProcessingJob.ClusterConfigProperty clusterConfig) Sets the value ofCfnProcessingJob.ProcessingResourcesProperty.getClusterConfig()
- Parameters:
clusterConfig
- The configuration for the resources in a cluster used to run the processing job. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProcessingJob.ProcessingResourcesProperty>
- Returns:
- a new instance of
CfnProcessingJob.ProcessingResourcesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-