public static class RepositoryPathSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RepositoryPathSummary |
build() |
RepositoryPathSummary.Builder |
copy(RepositoryPathSummary model) |
RepositoryPathSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RepositoryPathSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RepositoryPathSummary.Builder |
name(String name)
Name of file or directory.
|
RepositoryPathSummary.Builder |
path(String path)
Path to file or directory in a repository.
|
RepositoryPathSummary.Builder |
sha(String sha)
SHA-1 checksum of blob or tree.
|
RepositoryPathSummary.Builder |
sizeInBytes(Long sizeInBytes)
Size of file or directory.
|
RepositoryPathSummary.Builder |
submoduleGitUrl(String submoduleGitUrl)
The git URL of the submodule.
|
RepositoryPathSummary.Builder |
type(String type)
File or directory.
|
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 build()
public RepositoryPathSummary.Builder copy(RepositoryPathSummary model)
Copyright © 2016–2023. All rights reserved.