@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KernelGatewayImageConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for an Amazon SageMaker KernelGateway app.
Constructor and Description |
---|
KernelGatewayImageConfig() |
Modifier and Type | Method and Description |
---|---|
KernelGatewayImageConfig |
clone() |
boolean |
equals(Object obj) |
FileSystemConfig |
getFileSystemConfig()
The file system configuration.
|
List<KernelSpec> |
getKernelSpecs()
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the
kernel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFileSystemConfig(FileSystemConfig fileSystemConfig)
The file system configuration.
|
void |
setKernelSpecs(Collection<KernelSpec> kernelSpecs)
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the
kernel.
|
String |
toString()
Returns a string representation of this object.
|
KernelGatewayImageConfig |
withFileSystemConfig(FileSystemConfig fileSystemConfig)
The file system configuration.
|
KernelGatewayImageConfig |
withKernelSpecs(Collection<KernelSpec> kernelSpecs)
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the
kernel.
|
KernelGatewayImageConfig |
withKernelSpecs(KernelSpec... kernelSpecs)
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the
kernel.
|
public List<KernelSpec> getKernelSpecs()
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.
public void setKernelSpecs(Collection<KernelSpec> kernelSpecs)
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.
kernelSpecs
- Defines how a kernel is started and the arguments, environment variables, and metadata that are available
to the kernel.public KernelGatewayImageConfig withKernelSpecs(KernelSpec... kernelSpecs)
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.
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
- Defines how a kernel is started and the arguments, environment variables, and metadata that are available
to the kernel.public KernelGatewayImageConfig withKernelSpecs(Collection<KernelSpec> kernelSpecs)
Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.
kernelSpecs
- Defines how a kernel is started and the arguments, environment variables, and metadata that are available
to the kernel.public void setFileSystemConfig(FileSystemConfig fileSystemConfig)
The file system configuration.
fileSystemConfig
- The file system configuration.public FileSystemConfig getFileSystemConfig()
The file system configuration.
public KernelGatewayImageConfig withFileSystemConfig(FileSystemConfig fileSystemConfig)
The file system configuration.
fileSystemConfig
- The file system configuration.public String toString()
toString
in class Object
Object.toString()
public KernelGatewayImageConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.