Package io.github.cdklabs.projen.github
Class GithubCredentialsAppOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.GithubCredentialsAppOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GithubCredentialsAppOptions>
- Enclosing interface:
- GithubCredentialsAppOptions
@Stability(Experimental) public static final class GithubCredentialsAppOptions.Builder extends Object implements software.amazon.jsii.Builder<GithubCredentialsAppOptions>
A builder forGithubCredentialsAppOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GithubCredentialsAppOptions.BuilderappIdSecret(String appIdSecret)Sets the value ofGithubCredentialsAppOptions.getAppIdSecret()GithubCredentialsAppOptionsbuild()Builds the configured instance.GithubCredentialsAppOptions.Builderpermissions(AppPermissions permissions)Sets the value ofGithubCredentialsAppOptions.getPermissions()GithubCredentialsAppOptions.BuilderprivateKeySecret(String privateKeySecret)Sets the value ofGithubCredentialsAppOptions.getPrivateKeySecret()
-
-
-
Method Detail
-
appIdSecret
@Stability(Experimental) public GithubCredentialsAppOptions.Builder appIdSecret(String appIdSecret)
Sets the value ofGithubCredentialsAppOptions.getAppIdSecret()- Parameters:
appIdSecret- the value to be set.- Returns:
this
-
permissions
@Stability(Experimental) public GithubCredentialsAppOptions.Builder permissions(AppPermissions permissions)
Sets the value ofGithubCredentialsAppOptions.getPermissions()- Parameters:
permissions- The permissions granted to the token.- Returns:
this
-
privateKeySecret
@Stability(Experimental) public GithubCredentialsAppOptions.Builder privateKeySecret(String privateKeySecret)
Sets the value ofGithubCredentialsAppOptions.getPrivateKeySecret()- Parameters:
privateKeySecret- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public GithubCredentialsAppOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GithubCredentialsAppOptions>- Returns:
- a new instance of
GithubCredentialsAppOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-