@Stability(value=Experimental) public static final class DependabotOptions.Builder extends Object implements software.amazon.jsii.Builder<DependabotOptions>
DependabotOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DependabotOptions |
build()
Builds the configured instance.
|
DependabotOptions.Builder |
ignore(List<? extends DependabotIgnore> ignore)
Sets the value of
DependabotOptions.getIgnore() |
DependabotOptions.Builder |
ignoreProjen(Boolean ignoreProjen)
Sets the value of
DependabotOptions.getIgnoreProjen() |
DependabotOptions.Builder |
labels(List<String> labels)
Sets the value of
DependabotOptions.getLabels() |
DependabotOptions.Builder |
registries(Map<String,? extends DependabotRegistry> registries)
Sets the value of
DependabotOptions.getRegistries() |
DependabotOptions.Builder |
scheduleInterval(DependabotScheduleInterval scheduleInterval)
Sets the value of
DependabotOptions.getScheduleInterval() |
DependabotOptions.Builder |
versioningStrategy(VersioningStrategy versioningStrategy)
Sets the value of
DependabotOptions.getVersioningStrategy() |
@Stability(value=Experimental) public DependabotOptions.Builder ignore(List<? extends DependabotIgnore> ignore)
DependabotOptions.getIgnore()ignore - You can use the `ignore` option to customize which dependencies are updated.
The ignore option supports the following options.this@Stability(value=Experimental) public DependabotOptions.Builder ignoreProjen(Boolean ignoreProjen)
DependabotOptions.getIgnoreProjen()ignoreProjen - Ignores updates to `projen`.
This is required since projen updates may cause changes in committed files
and anti-tamper checks will fail.
Projen upgrades are covered through the ProjenUpgrade class.
this@Stability(value=Experimental) public DependabotOptions.Builder labels(List<String> labels)
DependabotOptions.getLabels()labels - List of labels to apply to the created PR's.this@Stability(value=Experimental) public DependabotOptions.Builder registries(Map<String,? extends DependabotRegistry> registries)
DependabotOptions.getRegistries()registries - Map of package registries to use.this@Stability(value=Experimental) public DependabotOptions.Builder scheduleInterval(DependabotScheduleInterval scheduleInterval)
DependabotOptions.getScheduleInterval()scheduleInterval - How often to check for new versions and raise pull requests.this@Stability(value=Experimental) public DependabotOptions.Builder versioningStrategy(VersioningStrategy versioningStrategy)
DependabotOptions.getVersioningStrategy()versioningStrategy - The strategy to use when edits manifest and lock files.this@Stability(value=Experimental) public DependabotOptions build()
build in interface software.amazon.jsii.Builder<DependabotOptions>DependabotOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.