Package io.github.cdklabs.projen.github
Class ContributorStatementOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.ContributorStatementOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContributorStatementOptions>
- Enclosing interface:
- ContributorStatementOptions
@Stability(Experimental) public static final class ContributorStatementOptions.Builder extends Object implements software.amazon.jsii.Builder<ContributorStatementOptions>
A builder forContributorStatementOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContributorStatementOptionsbuild()Builds the configured instance.ContributorStatementOptions.BuilderexemptLabels(List<String> exemptLabels)Sets the value ofContributorStatementOptions.getExemptLabels()ContributorStatementOptions.BuilderexemptUsers(List<String> exemptUsers)Sets the value ofContributorStatementOptions.getExemptUsers()
-
-
-
Method Detail
-
exemptLabels
@Stability(Experimental) public ContributorStatementOptions.Builder exemptLabels(List<String> exemptLabels)
Sets the value ofContributorStatementOptions.getExemptLabels()- Parameters:
exemptLabels- Pull requests with one of these labels are exempted from a contributor statement.- Returns:
this
-
exemptUsers
@Stability(Experimental) public ContributorStatementOptions.Builder exemptUsers(List<String> exemptUsers)
Sets the value ofContributorStatementOptions.getExemptUsers()- Parameters:
exemptUsers- Pull requests from these GitHub users are exempted from a contributor statement.- Returns:
this
-
build
@Stability(Experimental) public ContributorStatementOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContributorStatementOptions>- Returns:
- a new instance of
ContributorStatementOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-