Package com.oracle.bmc.devops.model
Class RepositoryPathSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.RepositoryPathSummary.Builder
-
- Enclosing class:
- RepositoryPathSummary
public static class RepositoryPathSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
type
public RepositoryPathSummary.Builder type(String type)
File or directory.- Parameters:
type
- the value to set- Returns:
- this builder
-
sizeInBytes
public RepositoryPathSummary.Builder sizeInBytes(Long sizeInBytes)
Size of file or directory.- Parameters:
sizeInBytes
- the value to set- Returns:
- this builder
-
name
public RepositoryPathSummary.Builder name(String name)
Name of file or directory.- Parameters:
name
- the value to set- Returns:
- this builder
-
path
public RepositoryPathSummary.Builder path(String path)
Path to file or directory in a repository.- Parameters:
path
- the value to set- Returns:
- this builder
-
sha
public RepositoryPathSummary.Builder sha(String sha)
SHA-1 checksum of blob or tree.- Parameters:
sha
- the value to set- Returns:
- this builder
-
submoduleGitUrl
public RepositoryPathSummary.Builder submoduleGitUrl(String submoduleGitUrl)
The git URL of the submodule.- Parameters:
submoduleGitUrl
- the value to set- Returns:
- this builder
-
freeformTags
public RepositoryPathSummary.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
-
definedTags
public RepositoryPathSummary.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
-
systemTags
public RepositoryPathSummary.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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public RepositoryPathSummary build()
-
copy
public RepositoryPathSummary.Builder copy(RepositoryPathSummary model)
-
-