Interface MicrovmImageHooks.Builder

  • Method Details

    • ready

      The path of the hook invoked when the MicroVM image build is ready.

      Parameters:
      ready - The path of the hook invoked when the MicroVM image build is ready.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ready

      The path of the hook invoked when the MicroVM image build is ready.

      Parameters:
      ready - The path of the hook invoked when the MicroVM image build is ready.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • readyTimeoutInSeconds

      MicrovmImageHooks.Builder readyTimeoutInSeconds(Integer readyTimeoutInSeconds)

      The maximum time in seconds for the ready hook to complete.

      Parameters:
      readyTimeoutInSeconds - The maximum time in seconds for the ready hook to complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validate

      MicrovmImageHooks.Builder validate(String validate)

      The path of the hook invoked to validate the MicroVM image build.

      Parameters:
      validate - The path of the hook invoked to validate the MicroVM image build.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validate

      The path of the hook invoked to validate the MicroVM image build.

      Parameters:
      validate - The path of the hook invoked to validate the MicroVM image build.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validateTimeoutInSeconds

      MicrovmImageHooks.Builder validateTimeoutInSeconds(Integer validateTimeoutInSeconds)

      The maximum time in seconds for the validate hook to complete.

      Parameters:
      validateTimeoutInSeconds - The maximum time in seconds for the validate hook to complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.