public static class GitHubActionsConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GitHubActionsConfiguration.Builder |
additionalParameters(Map<String,String> additionalParameters)
Additional key-value pairs passed as parameters to the build service when running an
experiment.
|
GitHubActionsConfiguration |
build() |
GitHubActionsConfiguration.Builder |
copy(GitHubActionsConfiguration model) |
GitHubActionsConfiguration.Builder |
patSecretId(String patSecretId)
The Oracle Cloud Identifier
(OCID) of the
Private Access Token (PAT) Secret.
|
GitHubActionsConfiguration.Builder |
repositoryUrl(String repositoryUrl)
The location of the repository where the GitHub Actions is defined.
|
GitHubActionsConfiguration.Builder |
username(String username)
The username that will trigger the GitHub Action.
|
GitHubActionsConfiguration.Builder |
workflowName(String workflowName)
The name of the GitHub Actions workflow that defines the build pipeline.
|
public GitHubActionsConfiguration.Builder repositoryUrl(String repositoryUrl)
The location of the repository where the GitHub Actions is defined. 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]
repositoryUrl
- the value to setpublic GitHubActionsConfiguration.Builder patSecretId(String patSecretId)
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the GitHub Action.
patSecretId
- the value to setpublic GitHubActionsConfiguration.Builder username(String username)
The username that will trigger the GitHub Action.
username
- the value to setpublic GitHubActionsConfiguration.Builder workflowName(String workflowName)
The name of the GitHub Actions workflow that defines the build pipeline.
workflowName
- the value to setpublic GitHubActionsConfiguration.Builder additionalParameters(Map<String,String> additionalParameters)
Additional key-value pairs passed as parameters to the build service when running an experiment.
additionalParameters
- the value to setpublic GitHubActionsConfiguration build()
public GitHubActionsConfiguration.Builder copy(GitHubActionsConfiguration model)
Copyright © 2016–2024. All rights reserved.