@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KernelGatewayImageConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.
| Constructor and Description |
|---|
KernelGatewayImageConfig() |
| Modifier and Type | Method and Description |
|---|---|
KernelGatewayImageConfig |
clone() |
boolean |
equals(Object obj) |
FileSystemConfig |
getFileSystemConfig()
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
|
List<KernelSpec> |
getKernelSpecs()
The specification of the Jupyter kernels in the image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFileSystemConfig(FileSystemConfig fileSystemConfig)
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
|
void |
setKernelSpecs(Collection<KernelSpec> kernelSpecs)
The specification of the Jupyter kernels in the image.
|
String |
toString()
Returns a string representation of this object.
|
KernelGatewayImageConfig |
withFileSystemConfig(FileSystemConfig fileSystemConfig)
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
|
KernelGatewayImageConfig |
withKernelSpecs(Collection<KernelSpec> kernelSpecs)
The specification of the Jupyter kernels in the image.
|
KernelGatewayImageConfig |
withKernelSpecs(KernelSpec... kernelSpecs)
The specification of the Jupyter kernels in the image.
|
public List<KernelSpec> getKernelSpecs()
The specification of the Jupyter kernels in the image.
public void setKernelSpecs(Collection<KernelSpec> kernelSpecs)
The specification of the Jupyter kernels in the image.
kernelSpecs - The specification of the Jupyter kernels in the image.public KernelGatewayImageConfig withKernelSpecs(KernelSpec... kernelSpecs)
The specification of the Jupyter kernels in the image.
NOTE: This method appends the values to the existing list (if any). Use
setKernelSpecs(java.util.Collection) or withKernelSpecs(java.util.Collection) if you want to
override the existing values.
kernelSpecs - The specification of the Jupyter kernels in the image.public KernelGatewayImageConfig withKernelSpecs(Collection<KernelSpec> kernelSpecs)
The specification of the Jupyter kernels in the image.
kernelSpecs - The specification of the Jupyter kernels in the image.public void setFileSystemConfig(FileSystemConfig fileSystemConfig)
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
fileSystemConfig - The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.public FileSystemConfig getFileSystemConfig()
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
public KernelGatewayImageConfig withFileSystemConfig(FileSystemConfig fileSystemConfig)
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
fileSystemConfig - The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.public String toString()
toString in class ObjectObject.toString()public KernelGatewayImageConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.