Package com.oracle.bmc.devops.model
Class RepositoryBranch.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.RepositoryBranch.Builder
-
- Enclosing class:
- RepositoryBranch
public static class RepositoryBranch.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryBranch
build()
RepositoryBranch.Builder
commitId(String commitId)
Commit ID pointed to by the new branch.RepositoryBranch.Builder
copy(RepositoryBranch model)
RepositoryBranch.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
RepositoryBranch.Builder
freeformTags(Map<String,String> freeformTags)
RepositoryBranch.Builder
fullRefName(String fullRefName)
RepositoryBranch.Builder
refName(String refName)
RepositoryBranch.Builder
repositoryId(String repositoryId)
-
-
-
Method Detail
-
refName
public RepositoryBranch.Builder refName(String refName)
-
fullRefName
public RepositoryBranch.Builder fullRefName(String fullRefName)
-
repositoryId
public RepositoryBranch.Builder repositoryId(String repositoryId)
-
freeformTags
public RepositoryBranch.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public RepositoryBranch.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
commitId
public RepositoryBranch.Builder commitId(String commitId)
Commit ID pointed to by the new branch.- Parameters:
commitId
- the value to set- Returns:
- this builder
-
build
public RepositoryBranch build()
-
copy
public RepositoryBranch.Builder copy(RepositoryBranch model)
-
-