Package com.oracle.bmc.devops.model
Class RepositoryCommit.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.RepositoryCommit.Builder
-
- Enclosing class:
- RepositoryCommit
public static class RepositoryCommit.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryCommit.Builder
authorEmail(String authorEmail)
Email of the author of the repository.RepositoryCommit.Builder
authorName(String authorName)
Name of the author of the repository.RepositoryCommit
build()
RepositoryCommit.Builder
commitId(String commitId)
Commit hash pointed to by reference name.RepositoryCommit.Builder
commitMessage(String commitMessage)
The commit message.RepositoryCommit.Builder
committerEmail(String committerEmail)
Email of who creates the commit.RepositoryCommit.Builder
committerName(String committerName)
Name of who creates the commit.RepositoryCommit.Builder
copy(RepositoryCommit model)
RepositoryCommit.Builder
parentCommitIds(List<String> parentCommitIds)
An array of parent commit IDs of created commit.RepositoryCommit.Builder
timeCreated(Date timeCreated)
The time at which commit was created.RepositoryCommit.Builder
treeId(String treeId)
Tree information for the specified commit.
-
-
-
Method Detail
-
commitId
public RepositoryCommit.Builder commitId(String commitId)
Commit hash pointed to by reference name.- Parameters:
commitId
- the value to set- Returns:
- this builder
-
commitMessage
public RepositoryCommit.Builder commitMessage(String commitMessage)
The commit message.- Parameters:
commitMessage
- the value to set- Returns:
- this builder
-
authorName
public RepositoryCommit.Builder authorName(String authorName)
Name of the author of the repository.- Parameters:
authorName
- the value to set- Returns:
- this builder
-
authorEmail
public RepositoryCommit.Builder authorEmail(String authorEmail)
Email of the author of the repository.- Parameters:
authorEmail
- the value to set- Returns:
- this builder
-
committerName
public RepositoryCommit.Builder committerName(String committerName)
Name of who creates the commit.- Parameters:
committerName
- the value to set- Returns:
- this builder
-
committerEmail
public RepositoryCommit.Builder committerEmail(String committerEmail)
Email of who creates the commit.- Parameters:
committerEmail
- the value to set- Returns:
- this builder
-
parentCommitIds
public RepositoryCommit.Builder parentCommitIds(List<String> parentCommitIds)
An array of parent commit IDs of created commit.- Parameters:
parentCommitIds
- the value to set- Returns:
- this builder
-
timeCreated
public RepositoryCommit.Builder timeCreated(Date timeCreated)
The time at which commit was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
treeId
public RepositoryCommit.Builder treeId(String treeId)
Tree information for the specified commit.- Parameters:
treeId
- the value to set- Returns:
- this builder
-
build
public RepositoryCommit build()
-
copy
public RepositoryCommit.Builder copy(RepositoryCommit model)
-
-