Package com.oracle.bmc.devops.model
Class CreateRepositoryDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.CreateRepositoryDetails.Builder
 
- 
- Enclosing class:
- CreateRepositoryDetails
 
 public static class CreateRepositoryDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
namepublic CreateRepositoryDetails.Builder name(String name) Name of the repository.Should be unique within the project. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
projectIdpublic CreateRepositoryDetails.Builder projectId(String projectId) The OCID of the DevOps project containing the repository.- Parameters:
- projectId- the value to set
- Returns:
- this builder
 
 - 
parentRepositoryIdpublic CreateRepositoryDetails.Builder parentRepositoryId(String parentRepositoryId) The OCID of the parent repository.- Parameters:
- parentRepositoryId- the value to set
- Returns:
- this builder
 
 - 
defaultBranchpublic CreateRepositoryDetails.Builder defaultBranch(String defaultBranch) The default branch of the repository.- Parameters:
- defaultBranch- the value to set
- Returns:
- this builder
 
 - 
repositoryTypepublic CreateRepositoryDetails.Builder repositoryType(Repository.RepositoryType repositoryType) Type of repository.Allowed values: MIRRORED HOSTED FORKED - Parameters:
- repositoryType- the value to set
- Returns:
- this builder
 
 - 
mirrorRepositoryConfigpublic CreateRepositoryDetails.Builder mirrorRepositoryConfig(MirrorRepositoryConfig mirrorRepositoryConfig) 
 - 
descriptionpublic CreateRepositoryDetails.Builder description(String description) Details of the repository.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateRepositoryDetails.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateRepositoryDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateRepositoryDetails build() 
 - 
copypublic CreateRepositoryDetails.Builder copy(CreateRepositoryDetails model) 
 
- 
 
-