@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProcessingClusterConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for the cluster used to run a processing job.
Constructor and Description |
---|
ProcessingClusterConfig() |
Modifier and Type | Method and Description |
---|---|
ProcessingClusterConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
The number of ML compute instances to use in the processing job.
|
String |
getInstanceType()
The ML compute instance type for the processing job.
|
String |
getVolumeKmsKeyId()
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 processing job.
|
Integer |
getVolumeSizeInGB()
The size of the ML storage volume in gigabytes that you want to provision.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceCount(Integer instanceCount)
The number of ML compute instances to use in the processing job.
|
void |
setInstanceType(String instanceType)
The ML compute instance type for the processing job.
|
void |
setVolumeKmsKeyId(String 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 processing job.
|
void |
setVolumeSizeInGB(Integer volumeSizeInGB)
The size of the ML storage volume in gigabytes that you want to provision.
|
String |
toString()
Returns a string representation of this object.
|
ProcessingClusterConfig |
withInstanceCount(Integer instanceCount)
The number of ML compute instances to use in the processing job.
|
ProcessingClusterConfig |
withInstanceType(ProcessingInstanceType instanceType)
The ML compute instance type for the processing job.
|
ProcessingClusterConfig |
withInstanceType(String instanceType)
The ML compute instance type for the processing job.
|
ProcessingClusterConfig |
withVolumeKmsKeyId(String 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 processing job.
|
ProcessingClusterConfig |
withVolumeSizeInGB(Integer volumeSizeInGB)
The size of the ML storage volume in gigabytes that you want to provision.
|
public void setInstanceCount(Integer instanceCount)
The number of ML compute instances to use in the processing job. For distributed processing jobs, specify a value greater than 1. The default value is 1.
instanceCount
- The number of ML compute instances to use in the processing job. For distributed processing jobs, specify
a value greater than 1. The default value is 1.public Integer getInstanceCount()
The number of ML compute instances to use in the processing job. For distributed processing jobs, specify a value greater than 1. The default value is 1.
public ProcessingClusterConfig withInstanceCount(Integer instanceCount)
The number of ML compute instances to use in the processing job. For distributed processing jobs, specify a value greater than 1. The default value is 1.
instanceCount
- The number of ML compute instances to use in the processing job. For distributed processing jobs, specify
a value greater than 1. The default value is 1.public void setInstanceType(String instanceType)
The ML compute instance type for the processing job.
instanceType
- The ML compute instance type for the processing job.ProcessingInstanceType
public String getInstanceType()
The ML compute instance type for the processing job.
ProcessingInstanceType
public ProcessingClusterConfig withInstanceType(String instanceType)
The ML compute instance type for the processing job.
instanceType
- The ML compute instance type for the processing job.ProcessingInstanceType
public ProcessingClusterConfig withInstanceType(ProcessingInstanceType instanceType)
The ML compute instance type for the processing job.
instanceType
- The ML compute instance type for the processing job.ProcessingInstanceType
public void setVolumeSizeInGB(Integer volumeSizeInGB)
The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML storage for your scenario.
volumeSizeInGB
- The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML
storage for your scenario.public Integer getVolumeSizeInGB()
The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML storage for your scenario.
public ProcessingClusterConfig withVolumeSizeInGB(Integer volumeSizeInGB)
The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML storage for your scenario.
volumeSizeInGB
- The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML
storage for your scenario.public void setVolumeKmsKeyId(String 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 processing job.
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 processing job.public String getVolumeKmsKeyId()
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 processing job.
public ProcessingClusterConfig withVolumeKmsKeyId(String 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 processing job.
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 processing job.public String toString()
toString
in class Object
Object.toString()
public ProcessingClusterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.