Class MicronautFunctionFile.Builder

java.lang.Object
io.micronaut.aws.cdk.function.MicronautFunctionFile.Builder
Enclosing class:
MicronautFunctionFile

public static class MicronautFunctionFile.Builder extends Object
Micronaut Function File Builder.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • buildTool

      @NonNull public @NonNull MicronautFunctionFile.Builder buildTool(@NonNull @NonNull BuildTool buildTool)
      Parameters:
      buildTool - Build Tool
      Returns:
      Builder
    • version

      @NonNull public @NonNull MicronautFunctionFile.Builder version(@NonNull @NonNull String version)
      Parameters:
      version - Version
      Returns:
      Builder
    • archiveBaseName

      @NonNull public @NonNull MicronautFunctionFile.Builder archiveBaseName(@NonNull @NonNull String archiveBaseName)
      Parameters:
      archiveBaseName - Archive base name
      Returns:
      Builder
    • optimized

      @NonNull public @NonNull MicronautFunctionFile.Builder optimized(boolean optimized)
      Parameters:
      optimized - AOT Optimized
      Returns:
      Builder
    • optimized

      @NonNull public @NonNull MicronautFunctionFile.Builder optimized()
      AOT Optimized.
      Returns:
      Builder
    • graalVMNative

      @NonNull public @NonNull MicronautFunctionFile.Builder graalVMNative(boolean graalVMNative)
      Parameters:
      graalVMNative - GraalVM Native Image
      Returns:
      Builder
    • graalVMNative

      @NonNull public @NonNull MicronautFunctionFile.Builder graalVMNative()
      GraalVM Native Image.
      Returns:
      Builder
    • build

      @NonNull public @NonNull String build()
      Returns:
      Filename