public static final class CfnMonitoringSchedule.ClusterConfigProperty.Builder
extends java.lang.Object
CfnMonitoringSchedule.ClusterConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnMonitoringSchedule.ClusterConfigProperty |
build()
Builds the configured instance.
|
CfnMonitoringSchedule.ClusterConfigProperty.Builder |
instanceCount(java.lang.Number instanceCount)
Sets the value of
CfnMonitoringSchedule.ClusterConfigProperty.getInstanceCount() |
CfnMonitoringSchedule.ClusterConfigProperty.Builder |
instanceType(java.lang.String instanceType)
Sets the value of
CfnMonitoringSchedule.ClusterConfigProperty.getInstanceType() |
CfnMonitoringSchedule.ClusterConfigProperty.Builder |
volumeKmsKeyId(java.lang.String volumeKmsKeyId)
Sets the value of
CfnMonitoringSchedule.ClusterConfigProperty.getVolumeKmsKeyId() |
CfnMonitoringSchedule.ClusterConfigProperty.Builder |
volumeSizeInGb(java.lang.Number volumeSizeInGb)
Sets the value of
CfnMonitoringSchedule.ClusterConfigProperty.getVolumeSizeInGb() |
public CfnMonitoringSchedule.ClusterConfigProperty.Builder instanceCount(java.lang.Number instanceCount)
CfnMonitoringSchedule.ClusterConfigProperty.getInstanceCount()
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.this
public CfnMonitoringSchedule.ClusterConfigProperty.Builder instanceType(java.lang.String instanceType)
CfnMonitoringSchedule.ClusterConfigProperty.getInstanceType()
instanceType
- The ML compute instance type for the processing job. This parameter is required.this
public CfnMonitoringSchedule.ClusterConfigProperty.Builder volumeSizeInGb(java.lang.Number volumeSizeInGb)
CfnMonitoringSchedule.ClusterConfigProperty.getVolumeSizeInGb()
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.this
public CfnMonitoringSchedule.ClusterConfigProperty.Builder volumeKmsKeyId(java.lang.String volumeKmsKeyId)
CfnMonitoringSchedule.ClusterConfigProperty.getVolumeKmsKeyId()
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.this
public CfnMonitoringSchedule.ClusterConfigProperty build()
CfnMonitoringSchedule.ClusterConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided