public static class ExternalScmConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExternalScmConfiguration.Builder |
branch(String branch) |
ExternalScmConfiguration |
build() |
ExternalScmConfiguration.Builder |
buildFileLocation(String buildFileLocation) |
ExternalScmConfiguration.Builder |
copy(ExternalScmConfiguration model) |
ExternalScmConfiguration.Builder |
externalScmType(ExternalScmConfiguration.ExternalScmType externalScmType)
The type of External Source Code Management.
|
ExternalScmConfiguration.Builder |
isAutomergeEnabled(Boolean isAutomergeEnabled) |
ExternalScmConfiguration.Builder |
patSecretId(String patSecretId)
The Oracle Cloud Identifier
(OCID) of the
Private Access Token (PAT) Secret.
|
ExternalScmConfiguration.Builder |
repositoryUrl(String repositoryUrl)
The repository URL for the SCM.
|
ExternalScmConfiguration.Builder |
username(String username)
The username for the SCM (to perform operations such as cloning or pushing via HTTP).
|
public ExternalScmConfiguration.Builder branch(String branch)
public ExternalScmConfiguration.Builder buildFileLocation(String buildFileLocation)
public ExternalScmConfiguration.Builder isAutomergeEnabled(Boolean isAutomergeEnabled)
public ExternalScmConfiguration.Builder externalScmType(ExternalScmConfiguration.ExternalScmType externalScmType)
The type of External Source Code Management.
externalScmType
- the value to setpublic ExternalScmConfiguration.Builder repositoryUrl(String repositoryUrl)
The repository URL for the SCM. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
repositoryUrl
- the value to setpublic ExternalScmConfiguration.Builder username(String username)
The username for the SCM (to perform operations such as cloning or pushing via HTTP).
username
- the value to setpublic ExternalScmConfiguration.Builder patSecretId(String patSecretId)
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
patSecretId
- the value to setpublic ExternalScmConfiguration build()
public ExternalScmConfiguration.Builder copy(ExternalScmConfiguration model)
Copyright © 2016–2024. All rights reserved.