public static interface CodeRepository.Builder extends SdkPojo, CopyableBuilder<CodeRepository.Builder,CodeRepository>
| Modifier and Type | Method and Description |
|---|---|
CodeRepository.Builder |
codeConfiguration(CodeConfiguration codeConfiguration)
Configuration for building and running the service from a source code repository.
|
default CodeRepository.Builder |
codeConfiguration(Consumer<CodeConfiguration.Builder> codeConfiguration)
Configuration for building and running the service from a source code repository.
|
CodeRepository.Builder |
repositoryUrl(String repositoryUrl)
The location of the repository that contains the source code.
|
default CodeRepository.Builder |
sourceCodeVersion(Consumer<SourceCodeVersion.Builder> sourceCodeVersion)
The version that should be used within the source code repository.
|
CodeRepository.Builder |
sourceCodeVersion(SourceCodeVersion sourceCodeVersion)
The version that should be used within the source code repository.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCodeRepository.Builder repositoryUrl(String repositoryUrl)
The location of the repository that contains the source code.
repositoryUrl - The location of the repository that contains the source code.CodeRepository.Builder sourceCodeVersion(SourceCodeVersion sourceCodeVersion)
The version that should be used within the source code repository.
sourceCodeVersion - The version that should be used within the source code repository.default CodeRepository.Builder sourceCodeVersion(Consumer<SourceCodeVersion.Builder> sourceCodeVersion)
The version that should be used within the source code repository.
This is a convenience method that creates an instance of theSourceCodeVersion.Builder avoiding the
need to create one manually via SourceCodeVersion.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sourceCodeVersion(SourceCodeVersion).
sourceCodeVersion - a consumer that will call methods on SourceCodeVersion.BuildersourceCodeVersion(SourceCodeVersion)CodeRepository.Builder codeConfiguration(CodeConfiguration codeConfiguration)
Configuration for building and running the service from a source code repository.
CodeConfiguration is required only for CreateService request.
codeConfiguration - Configuration for building and running the service from a source code repository.
CodeConfiguration is required only for CreateService request.
default CodeRepository.Builder codeConfiguration(Consumer<CodeConfiguration.Builder> codeConfiguration)
Configuration for building and running the service from a source code repository.
CodeConfiguration is required only for CreateService request.
CodeConfiguration.Builder
avoiding the need to create one manually via CodeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to codeConfiguration(CodeConfiguration).
codeConfiguration - a consumer that will call methods on CodeConfiguration.BuildercodeConfiguration(CodeConfiguration)Copyright © 2023. All rights reserved.