Interface JupyterServerAppSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JupyterServerAppSettings.Builder,JupyterServerAppSettings>, SdkBuilder<JupyterServerAppSettings.Builder,JupyterServerAppSettings>, SdkPojo
Enclosing class:
JupyterServerAppSettings

public static interface JupyterServerAppSettings.Builder extends SdkPojo, CopyableBuilder<JupyterServerAppSettings.Builder,JupyterServerAppSettings>
  • Method Details

    • defaultResourceSpec

      JupyterServerAppSettings.Builder defaultResourceSpec(ResourceSpec defaultResourceSpec)

      The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns parameter, then this parameter is also required.

      Parameters:
      defaultResourceSpec - The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns parameter, then this parameter is also required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultResourceSpec

      default JupyterServerAppSettings.Builder defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec)

      The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns parameter, then this parameter is also required.

      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:
    • lifecycleConfigArns

      JupyterServerAppSettings.Builder lifecycleConfigArns(Collection<String> lifecycleConfigArns)

      The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

      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 JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

      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

      JupyterServerAppSettings.Builder lifecycleConfigArns(String... lifecycleConfigArns)

      The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

      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 JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

      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.
    • codeRepositories

      JupyterServerAppSettings.Builder codeRepositories(Collection<CodeRepository> codeRepositories)

      A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

      Parameters:
      codeRepositories - A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeRepositories

      JupyterServerAppSettings.Builder codeRepositories(CodeRepository... codeRepositories)

      A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

      Parameters:
      codeRepositories - A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeRepositories

      JupyterServerAppSettings.Builder codeRepositories(Consumer<CodeRepository.Builder>... codeRepositories)

      A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

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

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

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