@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KernelGatewayAppSettings extends Object implements Serializable, Cloneable, StructuredPojo
The KernelGateway app settings.
Constructor and Description |
---|
KernelGatewayAppSettings() |
Modifier and Type | Method and Description |
---|---|
KernelGatewayAppSettings |
clone() |
boolean |
equals(Object obj) |
List<CustomImage> |
getCustomImages()
A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
ResourceSpec |
getDefaultResourceSpec()
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
KernelGateway app.
|
List<String> |
getLifecycleConfigArns()
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomImages(Collection<CustomImage> customImages)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
void |
setDefaultResourceSpec(ResourceSpec defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
KernelGateway app.
|
void |
setLifecycleConfigArns(Collection<String> lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
|
String |
toString()
Returns a string representation of this object.
|
KernelGatewayAppSettings |
withCustomImages(Collection<CustomImage> customImages)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
KernelGatewayAppSettings |
withCustomImages(CustomImage... customImages)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
KernelGatewayAppSettings |
withDefaultResourceSpec(ResourceSpec defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
KernelGateway app.
|
KernelGatewayAppSettings |
withLifecycleConfigArns(Collection<String> lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
|
KernelGatewayAppSettings |
withLifecycleConfigArns(String... lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
|
public void setDefaultResourceSpec(ResourceSpec defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
KernelGateway app.public ResourceSpec getDefaultResourceSpec()
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
public KernelGatewayAppSettings withDefaultResourceSpec(ResourceSpec defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
KernelGateway app.public List<CustomImage> getCustomImages()
A list of custom SageMaker images that are configured to run as a KernelGateway app.
public void setCustomImages(Collection<CustomImage> customImages)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.public KernelGatewayAppSettings withCustomImages(CustomImage... customImages)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
NOTE: This method appends the values to the existing list (if any). Use
setCustomImages(java.util.Collection)
or withCustomImages(java.util.Collection)
if you want to
override the existing values.
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.public KernelGatewayAppSettings withCustomImages(Collection<CustomImage> customImages)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.public List<String> getLifecycleConfigArns()
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
public void setLifecycleConfigArns(Collection<String> lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.public KernelGatewayAppSettings withLifecycleConfigArns(String... lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
NOTE: This method appends the values to the existing list (if any). Use
setLifecycleConfigArns(java.util.Collection)
or withLifecycleConfigArns(java.util.Collection)
if you want to override the existing values.
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.public KernelGatewayAppSettings withLifecycleConfigArns(Collection<String> lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.public String toString()
toString
in class Object
Object.toString()
public KernelGatewayAppSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.