Package io.github.cdklabs.projen.github
Class DependabotAllow.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.DependabotAllow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DependabotAllow>
- Enclosing interface:
- DependabotAllow
@Stability(Experimental) public static final class DependabotAllow.Builder extends Object implements software.amazon.jsii.Builder<DependabotAllow>
A builder forDependabotAllow
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependabotAllowbuild()Builds the configured instance.DependabotAllow.BuilderdependencyName(String dependencyName)Sets the value ofDependabotAllow.getDependencyName()
-
-
-
Method Detail
-
dependencyName
@Stability(Experimental) public DependabotAllow.Builder dependencyName(String dependencyName)
Sets the value ofDependabotAllow.getDependencyName()- Parameters:
dependencyName- Use to allow updates for dependencies with matching names, optionally using*to match zero or more characters. This parameter is required. For Java dependencies, the format of the dependency-name attribute is:groupId:artifactId, for example:org.kohsuke:github-api.- Returns:
this
-
build
@Stability(Experimental) public DependabotAllow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DependabotAllow>- Returns:
- a new instance of
DependabotAllow - Throws:
NullPointerException- if any required attribute was not provided
-
-