public static class RepositoryPathSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public RepositoryPathSummary.Builder type(String type)
File or directory.
type
- the value to setpublic RepositoryPathSummary.Builder sizeInBytes(Long sizeInBytes)
Size of file or directory.
sizeInBytes
- the value to setpublic RepositoryPathSummary.Builder name(String name)
Name of file or directory.
name
- the value to setpublic RepositoryPathSummary.Builder path(String path)
Path to file or directory in a repository.
path
- the value to setpublic RepositoryPathSummary.Builder sha(String sha)
SHA-1 checksum of blob or tree.
sha
- the value to setpublic RepositoryPathSummary.Builder submoduleGitUrl(String submoduleGitUrl)
The git URL of the submodule.
submoduleGitUrl
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic RepositoryPathSummary build()
public RepositoryPathSummary.Builder copy(RepositoryPathSummary model)
Copyright © 2016–2024. All rights reserved.