Interface KernelGatewayAppSettings.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<KernelGatewayAppSettings.Builder,KernelGatewayAppSettings>
,SdkBuilder<KernelGatewayAppSettings.Builder,KernelGatewayAppSettings>
,SdkPojo
- Enclosing class:
- KernelGatewayAppSettings
public static interface KernelGatewayAppSettings.Builder extends SdkPojo, CopyableBuilder<KernelGatewayAppSettings.Builder,KernelGatewayAppSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KernelGatewayAppSettings.Builder
customImages(Collection<CustomImage> customImages)
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.KernelGatewayAppSettings.Builder
customImages(Consumer<CustomImage.Builder>... customImages)
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.KernelGatewayAppSettings.Builder
customImages(CustomImage... customImages)
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.default KernelGatewayAppSettings.Builder
defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.KernelGatewayAppSettings.Builder
defaultResourceSpec(ResourceSpec defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.KernelGatewayAppSettings.Builder
lifecycleConfigArns(String... lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.KernelGatewayAppSettings.Builder
lifecycleConfigArns(Collection<String> lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
defaultResourceSpec
KernelGatewayAppSettings.Builder defaultResourceSpec(ResourceSpec defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
- Parameters:
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultResourceSpec
default KernelGatewayAppSettings.Builder defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
ResourceSpec.Builder
avoiding the need to create one manually viaResourceSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultResourceSpec(ResourceSpec)
.- Parameters:
defaultResourceSpec
- a consumer that will call methods onResourceSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultResourceSpec(ResourceSpec)
-
customImages
KernelGatewayAppSettings.Builder customImages(Collection<CustomImage> customImages)
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
The maximum number of custom images are as follows.
-
On a domain level: 200
-
On a space level: 5
-
On a user profile level: 5
- Parameters:
customImages
- A list of custom SageMaker AI images that are configured to run as a KernelGateway app.The maximum number of custom images are as follows.
-
On a domain level: 200
-
On a space level: 5
-
On a user profile level: 5
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
customImages
KernelGatewayAppSettings.Builder customImages(CustomImage... customImages)
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
The maximum number of custom images are as follows.
-
On a domain level: 200
-
On a space level: 5
-
On a user profile level: 5
- Parameters:
customImages
- A list of custom SageMaker AI images that are configured to run as a KernelGateway app.The maximum number of custom images are as follows.
-
On a domain level: 200
-
On a space level: 5
-
On a user profile level: 5
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
customImages
KernelGatewayAppSettings.Builder customImages(Consumer<CustomImage.Builder>... customImages)
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
The maximum number of custom images are as follows.
-
On a domain level: 200
-
On a space level: 5
-
On a user profile level: 5
CustomImage.Builder
avoiding the need to create one manually viaCustomImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#customImages(List
.) - Parameters:
customImages
- a consumer that will call methods onCustomImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customImages(java.util.Collection
)
-
-
lifecycleConfigArns
KernelGatewayAppSettings.Builder lifecycleConfigArns(Collection<String> lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Parameters:
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleConfigArns
KernelGatewayAppSettings.Builder lifecycleConfigArns(String... lifecycleConfigArns)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Parameters:
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-