Interface KernelGatewayAppSettings.Builder

  • Method Details

    • defaultResourceSpec

      KernelGatewayAppSettings.Builder defaultResourceSpec(ResourceSpec defaultResourceSpec)

      The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.

      The Amazon SageMaker 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 image used by the KernelGateway app.

      The Amazon SageMaker 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 image used by the KernelGateway app.

      The Amazon SageMaker 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.

      This is a convenience method that creates an instance of the ResourceSpec.Builder avoiding the need to create one manually via ResourceSpec.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to defaultResourceSpec(ResourceSpec).

      Parameters:
      defaultResourceSpec - a consumer that will call methods on ResourceSpec.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customImages

      A list of custom SageMaker images that are configured to run as a KernelGateway app.

      Parameters:
      customImages - A list of custom SageMaker images that are configured to run as a KernelGateway app.
      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 images that are configured to run as a KernelGateway app.

      Parameters:
      customImages - A list of custom SageMaker images that are configured to run as a KernelGateway app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customImages

      A list of custom SageMaker images that are configured to run as a KernelGateway app.

      This is a convenience method that creates an instance of the CustomImage.Builder avoiding the need to create one manually via CustomImage.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customImages(List<CustomImage>).

      Parameters:
      customImages - a consumer that will call methods on CustomImage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.