Package com.oracle.bmc.devops.model
Class RepositoryObject.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.RepositoryObject.Builder
 
- 
- Enclosing class:
- RepositoryObject
 
 public static class RepositoryObject.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryObjectbuild()RepositoryObject.Buildercopy(RepositoryObject model)RepositoryObject.BuilderisBinary(Boolean isBinary)Flag to determine if the object contains binary file content or not.RepositoryObject.Buildersha(String sha)SHA-1 hash of git object.RepositoryObject.BuildersizeInBytes(Long sizeInBytes)Size in bytes.RepositoryObject.Buildertype(RepositoryObject.Type type)The type of git object.
 
- 
- 
- 
Method Detail- 
typepublic RepositoryObject.Builder type(RepositoryObject.Type type) The type of git object.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
sizeInBytespublic RepositoryObject.Builder sizeInBytes(Long sizeInBytes) Size in bytes.- Parameters:
- sizeInBytes- the value to set
- Returns:
- this builder
 
 - 
shapublic RepositoryObject.Builder sha(String sha) SHA-1 hash of git object.- Parameters:
- sha- the value to set
- Returns:
- this builder
 
 - 
isBinarypublic RepositoryObject.Builder isBinary(Boolean isBinary) Flag to determine if the object contains binary file content or not.- Parameters:
- isBinary- the value to set
- Returns:
- this builder
 
 - 
buildpublic RepositoryObject build() 
 - 
copypublic RepositoryObject.Builder copy(RepositoryObject model) 
 
- 
 
-