Interface CodeRepository.Builder

    • Method Detail

      • repositoryUrl

        CodeRepository.Builder repositoryUrl​(String repositoryUrl)

        The location of the repository that contains the source code.

        Parameters:
        repositoryUrl - The location of the repository that contains the source code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceCodeVersion

        CodeRepository.Builder sourceCodeVersion​(SourceCodeVersion sourceCodeVersion)

        The version that should be used within the source code repository.

        Parameters:
        sourceCodeVersion - The version that should be used within the source code repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • codeConfiguration

        CodeRepository.Builder codeConfiguration​(CodeConfiguration codeConfiguration)

        Configuration for building and running the service from a source code repository.

        CodeConfiguration is required only for CreateService request.

        Parameters:
        codeConfiguration - Configuration for building and running the service from a source code repository.

        CodeConfiguration is required only for CreateService request.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceDirectory

        CodeRepository.Builder sourceDirectory​(String sourceDirectory)

        The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.

        Parameters:
        sourceDirectory - The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
        Returns:
        Returns a reference to this object so that method calls can be chained together.