Class GitHubSourceCredentialsProps.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.GitHubSourceCredentialsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GitHubSourceCredentialsProps>
- Enclosing interface:
- GitHubSourceCredentialsProps
@Stability(Stable)
public static final class GitHubSourceCredentialsProps.Builder
extends Object
implements software.amazon.jsii.Builder<GitHubSourceCredentialsProps>
A builder for
GitHubSourceCredentialsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken(SecretValue accessToken) Sets the value ofGitHubSourceCredentialsProps.getAccessToken()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessToken
Sets the value ofGitHubSourceCredentialsProps.getAccessToken()- Parameters:
accessToken- The personal access token to use when contacting the GitHub API. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GitHubSourceCredentialsProps>- Returns:
- a new instance of
GitHubSourceCredentialsProps - Throws:
NullPointerException- if any required attribute was not provided
-