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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
type
public RepositoryObject.Builder type(RepositoryObject.Type type)
The type of git object.- Parameters:
type- the value to set- Returns:
- this builder
-
sizeInBytes
public RepositoryObject.Builder sizeInBytes(Long sizeInBytes)
Size in bytes.- Parameters:
sizeInBytes- the value to set- Returns:
- this builder
-
sha
public RepositoryObject.Builder sha(String sha)
SHA-1 hash of git object.- Parameters:
sha- the value to set- Returns:
- this builder
-
isBinary
public 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
-
build
public RepositoryObject build()
-
copy
public RepositoryObject.Builder copy(RepositoryObject model)
-
-