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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryCommit.BuilderauthorEmail(String authorEmail)Email of the author of the repository.RepositoryCommit.BuilderauthorName(String authorName)Name of the author of the repository.RepositoryCommitbuild()RepositoryCommit.BuildercommitId(String commitId)Commit hash pointed to by reference name.RepositoryCommit.BuildercommitMessage(String commitMessage)The commit message.RepositoryCommit.BuildercommitterEmail(String committerEmail)Email of who creates the commit.RepositoryCommit.BuildercommitterName(String committerName)Name of who creates the commit.RepositoryCommit.Buildercopy(RepositoryCommit model)RepositoryCommit.BuildermergedPullRequestId(String mergedPullRequestId)Id of the PullRequest that this commit was merged with.RepositoryCommit.BuilderparentCommitIds(List<String> parentCommitIds)An array of parent commit IDs of created commit.RepositoryCommit.BuildertimeCreated(Date timeCreated)The time at which commit was created.RepositoryCommit.BuildertreeId(String treeId)Tree information for the specified commit.
 
- 
- 
- 
Method Detail- 
commitIdpublic RepositoryCommit.Builder commitId(String commitId) Commit hash pointed to by reference name.- Parameters:
- commitId- the value to set
- Returns:
- this builder
 
 - 
commitMessagepublic RepositoryCommit.Builder commitMessage(String commitMessage) The commit message.- Parameters:
- commitMessage- the value to set
- Returns:
- this builder
 
 - 
authorNamepublic RepositoryCommit.Builder authorName(String authorName) Name of the author of the repository.- Parameters:
- authorName- the value to set
- Returns:
- this builder
 
 - 
authorEmailpublic RepositoryCommit.Builder authorEmail(String authorEmail) Email of the author of the repository.- Parameters:
- authorEmail- the value to set
- Returns:
- this builder
 
 - 
committerNamepublic RepositoryCommit.Builder committerName(String committerName) Name of who creates the commit.- Parameters:
- committerName- the value to set
- Returns:
- this builder
 
 - 
committerEmailpublic RepositoryCommit.Builder committerEmail(String committerEmail) Email of who creates the commit.- Parameters:
- committerEmail- the value to set
- Returns:
- this builder
 
 - 
mergedPullRequestIdpublic RepositoryCommit.Builder mergedPullRequestId(String mergedPullRequestId) Id of the PullRequest that this commit was merged with.- Parameters:
- mergedPullRequestId- the value to set
- Returns:
- this builder
 
 - 
parentCommitIdspublic RepositoryCommit.Builder parentCommitIds(List<String> parentCommitIds) An array of parent commit IDs of created commit.- Parameters:
- parentCommitIds- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic RepositoryCommit.Builder timeCreated(Date timeCreated) The time at which commit was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
treeIdpublic RepositoryCommit.Builder treeId(String treeId) Tree information for the specified commit.- Parameters:
- treeId- the value to set
- Returns:
- this builder
 
 - 
buildpublic RepositoryCommit build() 
 - 
copypublic RepositoryCommit.Builder copy(RepositoryCommit model) 
 
- 
 
-