@Stability(value=Experimental) public static final class AutoMergeOptions.Builder extends Object implements software.amazon.jsii.Builder<AutoMergeOptions>
AutoMergeOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AutoMergeOptions.Builder |
approvedReviews(Number approvedReviews)
Sets the value of
AutoMergeOptions.getApprovedReviews() |
AutoMergeOptions.Builder |
blockingLabels(List<String> blockingLabels)
Sets the value of
AutoMergeOptions.getBlockingLabels() |
AutoMergeOptions |
build()
Builds the configured instance.
|
AutoMergeOptions.Builder |
buildJob(String buildJob)
Sets the value of
AutoMergeOptions.getBuildJob() |
@Stability(value=Experimental) public AutoMergeOptions.Builder approvedReviews(Number approvedReviews)
AutoMergeOptions.getApprovedReviews()approvedReviews - Number of approved code reviews.this@Stability(value=Experimental) public AutoMergeOptions.Builder blockingLabels(List<String> blockingLabels)
AutoMergeOptions.getBlockingLabels()blockingLabels - List of labels that will prevent auto-merging.this@Stability(value=Experimental) public AutoMergeOptions.Builder buildJob(String buildJob)
AutoMergeOptions.getBuildJob()buildJob - The GitHub job ID of the build workflow.this@Stability(value=Experimental) public AutoMergeOptions build()
build in interface software.amazon.jsii.Builder<AutoMergeOptions>AutoMergeOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.