@Stability(value=Experimental) public static final class ResourceConfig.Builder extends Object
ResourceConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResourceConfig |
build()
Builds the configured instance.
|
ResourceConfig.Builder |
instanceCount(Number instanceCount)
Sets the value of InstanceCount
|
ResourceConfig.Builder |
instanceType(InstanceType instanceType)
Sets the value of InstanceType
|
ResourceConfig.Builder |
volumeEncryptionKey(IKey volumeEncryptionKey)
Sets the value of VolumeEncryptionKey
|
ResourceConfig.Builder |
volumeSizeInGb(Number volumeSizeInGb)
Sets the value of VolumeSizeInGb
|
@Stability(value=Experimental) public ResourceConfig.Builder instanceCount(Number instanceCount)
instanceCount - The number of ML compute instances to use. This parameter is required.this@Stability(value=Experimental) public ResourceConfig.Builder instanceType(InstanceType instanceType)
instanceType - ML compute instance type. This parameter is required.this@Stability(value=Experimental) public ResourceConfig.Builder volumeSizeInGb(Number volumeSizeInGb)
volumeSizeInGb - Size of the ML storage volume that you want to provision. This parameter is required.this@Stability(value=Experimental) public ResourceConfig.Builder volumeEncryptionKey(IKey volumeEncryptionKey)
volumeEncryptionKey - KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.this@Stability(value=Experimental) public ResourceConfig build()
ResourceConfigNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.