@Stability(value=Experimental) public static final class TransformResources.Builder extends Object
TransformResources| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TransformResources |
build()
Builds the configured instance.
|
TransformResources.Builder |
withInstanceCount(Number value)
Sets the value of InstanceCount
|
TransformResources.Builder |
withInstanceType(software.amazon.awscdk.services.ec2.InstanceType value)
Sets the value of InstanceType
|
TransformResources.Builder |
withVolumeKmsKeyId(software.amazon.awscdk.services.kms.Key value)
Sets the value of VolumeKmsKeyId
|
@Stability(value=Experimental) public TransformResources.Builder withInstanceCount(Number value)
value - Nmber of ML compute instances to use in the transform job.this@Stability(value=Experimental) public TransformResources.Builder withInstanceType(software.amazon.awscdk.services.ec2.InstanceType value)
value - ML compute instance type for the transform job.this@Stability(value=Experimental) public TransformResources.Builder withVolumeKmsKeyId(@Nullable software.amazon.awscdk.services.kms.Key value)
value - AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s).this@Stability(value=Experimental) public TransformResources build()
TransformResourcesNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.