Package com.oracle.bmc.adm.model
Class GitLabPipelineConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.model.GitLabPipelineConfiguration.Builder
-
- Enclosing class:
- GitLabPipelineConfiguration
public static class GitLabPipelineConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitLabPipelineConfiguration.BuilderadditionalParameters(Map<String,String> additionalParameters)Additional key-value pairs passed as parameters to the build service when running an experiment.GitLabPipelineConfigurationbuild()GitLabPipelineConfiguration.Buildercopy(GitLabPipelineConfiguration model)GitLabPipelineConfiguration.BuilderpatSecretId(String patSecretId)The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret.GitLabPipelineConfiguration.BuilderrepositoryUrl(String repositoryUrl)The location of the Repository where the GitLab Pipeline will be run.GitLabPipelineConfiguration.BuildertriggerSecretId(String triggerSecretId)The Oracle Cloud Identifier (OCID) of the trigger Secret.GitLabPipelineConfiguration.Builderusername(String username)The username that will trigger the GitLab Pipeline.
-
-
-
Method Detail
-
repositoryUrl
public GitLabPipelineConfiguration.Builder repositoryUrl(String repositoryUrl)
The location of the Repository where the GitLab Pipeline will be run.The expected format is https://gitlab.com/[groupName]/[repoName]
- Parameters:
repositoryUrl- the value to set- Returns:
- this builder
-
username
public GitLabPipelineConfiguration.Builder username(String username)
The username that will trigger the GitLab Pipeline.- Parameters:
username- the value to set- Returns:
- this builder
-
patSecretId
public GitLabPipelineConfiguration.Builder patSecretId(String patSecretId)
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret.The PAT provides the credentials to access the GitLab pipeline.
- Parameters:
patSecretId- the value to set- Returns:
- this builder
-
triggerSecretId
public GitLabPipelineConfiguration.Builder triggerSecretId(String triggerSecretId)
The Oracle Cloud Identifier (OCID) of the trigger Secret.The Secret provides access to the trigger for a GitLab pipeline.
- Parameters:
triggerSecretId- the value to set- Returns:
- this builder
-
additionalParameters
public GitLabPipelineConfiguration.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 GitLabPipelineConfiguration build()
-
copy
public GitLabPipelineConfiguration.Builder copy(GitLabPipelineConfiguration model)
-
-