Class CfnDataQualityJobDefinition.ClusterConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition.ClusterConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataQualityJobDefinition.ClusterConfigProperty>
- Enclosing interface:
CfnDataQualityJobDefinition.ClusterConfigProperty
@Stability(Stable)
public static final class CfnDataQualityJobDefinition.ClusterConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataQualityJobDefinition.ClusterConfigProperty>
A builder for
CfnDataQualityJobDefinition.ClusterConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceCount
(Number instanceCount) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getInstanceCount()
instanceType
(String instanceType) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getInstanceType()
volumeKmsKeyId
(String volumeKmsKeyId) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getVolumeKmsKeyId()
volumeSizeInGb
(Number volumeSizeInGb) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getVolumeSizeInGb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceCount
@Stability(Stable) public CfnDataQualityJobDefinition.ClusterConfigProperty.Builder instanceCount(Number instanceCount) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getInstanceCount()
- Parameters:
instanceCount
- The number of ML compute instances to use in the model monitoring job. This parameter is required. For distributed processing jobs, specify a value greater than 1. The default value is 1.- Returns:
this
-
instanceType
@Stability(Stable) public CfnDataQualityJobDefinition.ClusterConfigProperty.Builder instanceType(String instanceType) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getInstanceType()
- Parameters:
instanceType
- The ML compute instance type for the processing job. This parameter is required.- Returns:
this
-
volumeSizeInGb
@Stability(Stable) public CfnDataQualityJobDefinition.ClusterConfigProperty.Builder volumeSizeInGb(Number volumeSizeInGb) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getVolumeSizeInGb()
- Parameters:
volumeSizeInGb
- The size of the ML storage volume, in gigabytes, that you want to provision. This parameter is required. You must specify sufficient ML storage for your scenario.- Returns:
this
-
volumeKmsKeyId
@Stability(Stable) public CfnDataQualityJobDefinition.ClusterConfigProperty.Builder volumeKmsKeyId(String volumeKmsKeyId) Sets the value ofCfnDataQualityJobDefinition.ClusterConfigProperty.getVolumeKmsKeyId()
- Parameters:
volumeKmsKeyId
- The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataQualityJobDefinition.ClusterConfigProperty>
- Returns:
- a new instance of
CfnDataQualityJobDefinition.ClusterConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-