Package io.github.cdklabs.projen
Class RenovatebotOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.RenovatebotOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RenovatebotOptions>
- Enclosing interface:
- RenovatebotOptions
@Stability(Experimental) public static final class RenovatebotOptions.Builder extends Object implements software.amazon.jsii.Builder<RenovatebotOptions>
A builder forRenovatebotOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenovatebotOptionsbuild()Builds the configured instance.RenovatebotOptions.Builderignore(List<String> ignore)Sets the value ofRenovatebotOptions.getIgnore()RenovatebotOptions.BuilderignoreProjen(Boolean ignoreProjen)Sets the value ofRenovatebotOptions.getIgnoreProjen()RenovatebotOptions.Builderlabels(List<String> labels)Sets the value ofRenovatebotOptions.getLabels()RenovatebotOptions.Buildermarker(Boolean marker)Sets the value ofRenovatebotOptions.getMarker()RenovatebotOptions.BuilderoverrideConfig(Object overrideConfig)Sets the value ofRenovatebotOptions.getOverrideConfig()RenovatebotOptions.BuilderscheduleInterval(List<String> scheduleInterval)Sets the value ofRenovatebotOptions.getScheduleInterval()
-
-
-
Method Detail
-
ignore
@Stability(Experimental) public RenovatebotOptions.Builder ignore(List<String> ignore)
Sets the value ofRenovatebotOptions.getIgnore()- Parameters:
ignore- You can use theignoreoption to customize which dependencies are updated. The ignore option supports just package name.- Returns:
this
-
ignoreProjen
@Stability(Experimental) public RenovatebotOptions.Builder ignoreProjen(Boolean ignoreProjen)
Sets the value ofRenovatebotOptions.getIgnoreProjen()- Parameters:
ignoreProjen- Ignores updates toprojen. This is required since projen updates may cause changes in committed files and anti-tamper checks will fail.Projen upgrades are covered through the
ProjenUpgradeclass.- Returns:
this
-
labels
@Stability(Experimental) public RenovatebotOptions.Builder labels(List<String> labels)
Sets the value ofRenovatebotOptions.getLabels()- Parameters:
labels- List of labels to apply to the created PR's.- Returns:
this
-
marker
@Stability(Experimental) public RenovatebotOptions.Builder marker(Boolean marker)
Sets the value ofRenovatebotOptions.getMarker()- Parameters:
marker- the value to be set.- Returns:
this
-
overrideConfig
@Stability(Experimental) public RenovatebotOptions.Builder overrideConfig(Object overrideConfig)
Sets the value ofRenovatebotOptions.getOverrideConfig()- Parameters:
overrideConfig- the value to be set.- Returns:
this
-
scheduleInterval
@Stability(Experimental) public RenovatebotOptions.Builder scheduleInterval(List<String> scheduleInterval)
Sets the value ofRenovatebotOptions.getScheduleInterval()- Parameters:
scheduleInterval- How often to check for new versions and raise pull requests. Can be given in CRON or LATER format, and use multiple schedules (e.g. different for weekdays and weekends). Multiple rules are handles as OR.Some normal scheduling values defined in enum
RenovatebotScheduleInterval.- Returns:
this
-
build
@Stability(Experimental) public RenovatebotOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RenovatebotOptions>- Returns:
- a new instance of
RenovatebotOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-