public static class RepositorySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RepositorySummary |
build() |
RepositorySummary.Builder |
compartmentId(String compartmentId)
The OCID of the repository’s compartment.
|
RepositorySummary.Builder |
copy(RepositorySummary model) |
RepositorySummary.Builder |
defaultBranch(String defaultBranch)
The default branch of the repository.
|
RepositorySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RepositorySummary.Builder |
description(String description)
Details of the repository.
|
RepositorySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RepositorySummary.Builder |
httpUrl(String httpUrl)
HTTP URL that you use to git clone, pull and push.
|
RepositorySummary.Builder |
id(String id)
The OCID of the repository.
|
RepositorySummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
RepositorySummary.Builder |
lifecycleState(Repository.LifecycleState lifecycleState)
The current state of the repository.
|
RepositorySummary.Builder |
mirrorRepositoryConfig(MirrorRepositoryConfig mirrorRepositoryConfig) |
RepositorySummary.Builder |
name(String name)
Name of the repository.
|
RepositorySummary.Builder |
namespace(String namespace)
Tenancy unique namespace.
|
RepositorySummary.Builder |
parentRepositoryId(String parentRepositoryId)
The OCID of the parent repository.
|
RepositorySummary.Builder |
projectId(String projectId)
The OCID of the DevOps project containing the repository.
|
RepositorySummary.Builder |
projectName(String projectName)
Unique project name in a namespace.
|
RepositorySummary.Builder |
repositoryType(Repository.RepositoryType repositoryType)
Type of repository.
|
RepositorySummary.Builder |
sshUrl(String sshUrl)
SSH URL that you use to git clone, pull and push.
|
RepositorySummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
RepositorySummary.Builder |
timeCreated(Date timeCreated)
The time the repository was created.
|
RepositorySummary.Builder |
timeUpdated(Date timeUpdated)
The time the repository was updated.
|
public RepositorySummary.Builder id(String id)
The OCID of the repository. This value is unique and immutable.
id
- the value to setpublic RepositorySummary.Builder name(String name)
Name of the repository. Should be unique within the project. This value is mutable.
name
- the value to setpublic RepositorySummary.Builder compartmentId(String compartmentId)
The OCID of the repository’s compartment.
compartmentId
- the value to setpublic RepositorySummary.Builder projectId(String projectId)
The OCID of the DevOps project containing the repository.
projectId
- the value to setpublic RepositorySummary.Builder parentRepositoryId(String parentRepositoryId)
The OCID of the parent repository.
parentRepositoryId
- the value to setpublic RepositorySummary.Builder namespace(String namespace)
Tenancy unique namespace.
namespace
- the value to setpublic RepositorySummary.Builder projectName(String projectName)
Unique project name in a namespace.
projectName
- the value to setpublic RepositorySummary.Builder description(String description)
Details of the repository. Avoid entering confidential information.
description
- the value to setpublic RepositorySummary.Builder defaultBranch(String defaultBranch)
The default branch of the repository.
defaultBranch
- the value to setpublic RepositorySummary.Builder repositoryType(Repository.RepositoryType repositoryType)
Type of repository. Allowed values: MIRRORED
HOSTED
FORKED
repositoryType
- the value to setpublic RepositorySummary.Builder sshUrl(String sshUrl)
SSH URL that you use to git clone, pull and push.
sshUrl
- the value to setpublic RepositorySummary.Builder httpUrl(String httpUrl)
HTTP URL that you use to git clone, pull and push.
httpUrl
- the value to setpublic RepositorySummary.Builder mirrorRepositoryConfig(MirrorRepositoryConfig mirrorRepositoryConfig)
public RepositorySummary.Builder timeCreated(Date timeCreated)
The time the repository was created. Format defined by RFC3339.
timeCreated
- the value to setpublic RepositorySummary.Builder timeUpdated(Date timeUpdated)
The time the repository was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic RepositorySummary.Builder lifecycleState(Repository.LifecycleState lifecycleState)
The current state of the repository.
lifecycleState
- the value to setpublic RepositorySummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic RepositorySummary.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"}
freeformTags
- the value to setpublic RepositorySummary.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"}}
definedTags
- the value to setpublic RepositorySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource
Tags. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic RepositorySummary build()
public RepositorySummary.Builder copy(RepositorySummary model)
Copyright © 2016–2024. All rights reserved.