public static class ApprovalRuleMergeCheck.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApprovalRuleMergeCheck |
build() |
ApprovalRuleMergeCheck.Builder |
copy(ApprovalRuleMergeCheck model) |
ApprovalRuleMergeCheck.Builder |
currentApprovalCount(Integer currentApprovalCount)
The current number of approvals.
|
ApprovalRuleMergeCheck.Builder |
level(ApprovalRuleMergeCheck.Level level)
The level of rule.
|
ApprovalRuleMergeCheck.Builder |
reviewers(List<PrincipalDetails> reviewers)
The list of default reviewers.
|
ApprovalRuleMergeCheck.Builder |
ruleName(String ruleName)
The name of the rule.
|
ApprovalRuleMergeCheck.Builder |
status(ApprovalRuleMergeCheck.Status status)
The status of the approval rule.
|
ApprovalRuleMergeCheck.Builder |
totalApprovalCount(Integer totalApprovalCount)
The number of total approvals needed.
|
public ApprovalRuleMergeCheck.Builder ruleName(String ruleName)
The name of the rule.
ruleName
- the value to setpublic ApprovalRuleMergeCheck.Builder status(ApprovalRuleMergeCheck.Status status)
The status of the approval rule.
status
- the value to setpublic ApprovalRuleMergeCheck.Builder totalApprovalCount(Integer totalApprovalCount)
The number of total approvals needed.
totalApprovalCount
- the value to setpublic ApprovalRuleMergeCheck.Builder currentApprovalCount(Integer currentApprovalCount)
The current number of approvals.
currentApprovalCount
- the value to setpublic ApprovalRuleMergeCheck.Builder reviewers(List<PrincipalDetails> reviewers)
The list of default reviewers.
reviewers
- the value to setpublic ApprovalRuleMergeCheck.Builder level(ApprovalRuleMergeCheck.Level level)
The level of rule.
level
- the value to setpublic ApprovalRuleMergeCheck build()
public ApprovalRuleMergeCheck.Builder copy(ApprovalRuleMergeCheck model)
Copyright © 2016–2024. All rights reserved.