Package com.oracle.bmc.devops.model
Class RepositoryCommitSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.RepositoryCommitSummary.Builder
-
- Enclosing class:
- RepositoryCommitSummary
public static class RepositoryCommitSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryCommitSummary.Builder
authorEmail(String authorEmail)
Email of the author of the repository.RepositoryCommitSummary.Builder
authorName(String authorName)
Name of the author of the repository.RepositoryCommitSummary
build()
RepositoryCommitSummary.Builder
commitId(String commitId)
Commit hash pointed to by reference name.RepositoryCommitSummary.Builder
commitMessage(String commitMessage)
The commit message.RepositoryCommitSummary.Builder
committerEmail(String committerEmail)
Email of who creates the commit.RepositoryCommitSummary.Builder
committerName(String committerName)
Name of who creates the commit.RepositoryCommitSummary.Builder
copy(RepositoryCommitSummary model)
RepositoryCommitSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.RepositoryCommitSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.RepositoryCommitSummary.Builder
parentCommitIds(List<String> parentCommitIds)
An array of parent commit IDs of created commit.RepositoryCommitSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.RepositoryCommitSummary.Builder
timeCreated(Date timeCreated)
The time to create the commit.RepositoryCommitSummary.Builder
treeId(String treeId)
Tree information for the specified commit.
-
-
-
Method Detail
-
commitId
public RepositoryCommitSummary.Builder commitId(String commitId)
Commit hash pointed to by reference name.- Parameters:
commitId
- the value to set- Returns:
- this builder
-
commitMessage
public RepositoryCommitSummary.Builder commitMessage(String commitMessage)
The commit message.- Parameters:
commitMessage
- the value to set- Returns:
- this builder
-
authorName
public RepositoryCommitSummary.Builder authorName(String authorName)
Name of the author of the repository.- Parameters:
authorName
- the value to set- Returns:
- this builder
-
authorEmail
public RepositoryCommitSummary.Builder authorEmail(String authorEmail)
Email of the author of the repository.- Parameters:
authorEmail
- the value to set- Returns:
- this builder
-
committerName
public RepositoryCommitSummary.Builder committerName(String committerName)
Name of who creates the commit.- Parameters:
committerName
- the value to set- Returns:
- this builder
-
committerEmail
public RepositoryCommitSummary.Builder committerEmail(String committerEmail)
Email of who creates the commit.- Parameters:
committerEmail
- the value to set- Returns:
- this builder
-
parentCommitIds
public RepositoryCommitSummary.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 RepositoryCommitSummary.Builder timeCreated(Date timeCreated)
The time to create the commit.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
treeId
public RepositoryCommitSummary.Builder treeId(String treeId)
Tree information for the specified commit.- Parameters:
treeId
- the value to set- Returns:
- this builder
-
freeformTags
public RepositoryCommitSummary.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public RepositoryCommitSummary.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public RepositoryCommitSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public RepositoryCommitSummary build()
-
copy
public RepositoryCommitSummary.Builder copy(RepositoryCommitSummary model)
-
-