Interface ReactStartCodegenJobData.Builder

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

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

    • module

      The JavaScript module type.

      Parameters:
      module - The JavaScript module type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • module

      The JavaScript module type.

      Parameters:
      module - The JavaScript module type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • target

      The ECMAScript specification to use.

      Parameters:
      target - The ECMAScript specification to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • target

      The ECMAScript specification to use.

      Parameters:
      target - The ECMAScript specification to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • script

      The file type to use for a JavaScript project.

      Parameters:
      script - The file type to use for a JavaScript project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • script

      The file type to use for a JavaScript project.

      Parameters:
      script - The file type to use for a JavaScript project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • renderTypeDeclarations

      ReactStartCodegenJobData.Builder renderTypeDeclarations(Boolean renderTypeDeclarations)

      Specifies whether the code generation job should render type declaration files.

      Parameters:
      renderTypeDeclarations - Specifies whether the code generation job should render type declaration files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inlineSourceMap

      ReactStartCodegenJobData.Builder inlineSourceMap(Boolean inlineSourceMap)

      Specifies whether the code generation job should render inline source maps.

      Parameters:
      inlineSourceMap - Specifies whether the code generation job should render inline source maps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiConfiguration

      ReactStartCodegenJobData.Builder apiConfiguration(ApiConfiguration apiConfiguration)

      The API configuration for the code generation job.

      Parameters:
      apiConfiguration - The API configuration for the code generation job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiConfiguration

      default ReactStartCodegenJobData.Builder apiConfiguration(Consumer<ApiConfiguration.Builder> apiConfiguration)

      The API configuration for the code generation job.

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

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

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

      ReactStartCodegenJobData.Builder dependencies(Map<String,String> dependencies)

      Lists the dependency packages that may be required for the project code to run.

      Parameters:
      dependencies - Lists the dependency packages that may be required for the project code to run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.