Package com.oracle.bmc.devops.model
Class CommitInfo.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.CommitInfo.Builder
-
- Enclosing class:
- CommitInfo
public static class CommitInfo.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommitInfobuild()CommitInfo.BuildercommitHash(String commitHash)Commit hash pertinent to the repository URL and the specified branch.CommitInfo.Buildercopy(CommitInfo model)CommitInfo.BuilderrepositoryBranch(String repositoryBranch)Name of the repository branch.CommitInfo.BuilderrepositoryUrl(String repositoryUrl)Repository URL.
-
-
-
Method Detail
-
repositoryUrl
public CommitInfo.Builder repositoryUrl(String repositoryUrl)
Repository URL.- Parameters:
repositoryUrl- the value to set- Returns:
- this builder
-
repositoryBranch
public CommitInfo.Builder repositoryBranch(String repositoryBranch)
Name of the repository branch.- Parameters:
repositoryBranch- the value to set- Returns:
- this builder
-
commitHash
public CommitInfo.Builder commitHash(String commitHash)
Commit hash pertinent to the repository URL and the specified branch.- Parameters:
commitHash- the value to set- Returns:
- this builder
-
build
public CommitInfo build()
-
copy
public CommitInfo.Builder copy(CommitInfo model)
-
-