Package com.oracle.bmc.adm.model
Class GitHubActionsConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.model.GitHubActionsConfiguration.Builder
-
- Enclosing class:
- GitHubActionsConfiguration
public static class GitHubActionsConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubActionsConfiguration.BuilderadditionalParameters(Map<String,String> additionalParameters)Additional key-value pairs passed as parameters to the build service when running an experiment.GitHubActionsConfigurationbuild()GitHubActionsConfiguration.Buildercopy(GitHubActionsConfiguration model)GitHubActionsConfiguration.BuilderpatSecretId(String patSecretId)The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret.GitHubActionsConfiguration.BuilderrepositoryUrl(String repositoryUrl)The location of the repository where the GitHub Actions is defined.GitHubActionsConfiguration.Builderusername(String username)The username that will trigger the GitHub Action.GitHubActionsConfiguration.BuilderworkflowName(String workflowName)The name of the GitHub Actions workflow that defines the build pipeline.
-
-
-
Method Detail
-
repositoryUrl
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]
- Parameters:
repositoryUrl- the value to set- Returns:
- this builder
-
patSecretId
public 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.
- Parameters:
patSecretId- the value to set- Returns:
- this builder
-
username
public GitHubActionsConfiguration.Builder username(String username)
The username that will trigger the GitHub Action.- Parameters:
username- the value to set- Returns:
- this builder
-
workflowName
public GitHubActionsConfiguration.Builder workflowName(String workflowName)
The name of the GitHub Actions workflow that defines the build pipeline.- Parameters:
workflowName- the value to set- Returns:
- this builder
-
additionalParameters
public GitHubActionsConfiguration.Builder additionalParameters(Map<String,String> additionalParameters)
Additional key-value pairs passed as parameters to the build service when running an experiment.- Parameters:
additionalParameters- the value to set- Returns:
- this builder
-
build
public GitHubActionsConfiguration build()
-
copy
public GitHubActionsConfiguration.Builder copy(GitHubActionsConfiguration model)
-
-