Package com.oracle.bmc.adm.model
Class JenkinsPipelineConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.model.JenkinsPipelineConfiguration.Builder
-
- Enclosing class:
- JenkinsPipelineConfiguration
public static class JenkinsPipelineConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JenkinsPipelineConfiguration.BuilderadditionalParameters(Map<String,String> additionalParameters)Additional key-value pairs passed as parameters to the build service when running an experiment.JenkinsPipelineConfigurationbuild()JenkinsPipelineConfiguration.Buildercopy(JenkinsPipelineConfiguration model)JenkinsPipelineConfiguration.BuilderjenkinsUrl(String jenkinsUrl)The URL that locates the Jenkins pipeline.JenkinsPipelineConfiguration.BuilderjobName(String jobName)The name of the Jenkins pipeline job that identifies the build pipeline.JenkinsPipelineConfiguration.BuilderpatSecretId(String patSecretId)The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret.JenkinsPipelineConfiguration.Builderusername(String username)The username that will be used to authenticate with Jenkins.
-
-
-
Method Detail
-
username
public JenkinsPipelineConfiguration.Builder username(String username)
The username that will be used to authenticate with Jenkins.- Parameters:
username- the value to set- Returns:
- this builder
-
patSecretId
public JenkinsPipelineConfiguration.Builder patSecretId(String patSecretId)
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret.The PAT provides the credentials to access the Jenkins Pipeline.
- Parameters:
patSecretId- the value to set- Returns:
- this builder
-
jenkinsUrl
public JenkinsPipelineConfiguration.Builder jenkinsUrl(String jenkinsUrl)
The URL that locates the Jenkins pipeline.- Parameters:
jenkinsUrl- the value to set- Returns:
- this builder
-
jobName
public JenkinsPipelineConfiguration.Builder jobName(String jobName)
The name of the Jenkins pipeline job that identifies the build pipeline.- Parameters:
jobName- the value to set- Returns:
- this builder
-
additionalParameters
public JenkinsPipelineConfiguration.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 JenkinsPipelineConfiguration build()
-
copy
public JenkinsPipelineConfiguration.Builder copy(JenkinsPipelineConfiguration model)
-
-