Class GitLabSourceCodeProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.GitLabSourceCodeProviderProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<GitLabSourceCodeProviderProps>
- Enclosing interface:
- GitLabSourceCodeProviderProps
@Stability(Experimental)
public static final class GitLabSourceCodeProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<GitLabSourceCodeProviderProps>
A builder for 
GitLabSourceCodeProviderProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.oauthToken(SecretValue oauthToken) Sets the value ofGitLabSourceCodeProviderProps.getOauthToken()Sets the value ofGitLabSourceCodeProviderProps.getOwner()repository(String repository) Sets the value ofGitLabSourceCodeProviderProps.getRepository()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
oauthToken@Stability(Experimental) public GitLabSourceCodeProviderProps.Builder oauthToken(SecretValue oauthToken) Sets the value ofGitLabSourceCodeProviderProps.getOauthToken()- Parameters:
- oauthToken- A personal access token with the- reposcope. This parameter is required.
- Returns:
- this
 
- 
ownerSets the value ofGitLabSourceCodeProviderProps.getOwner()- Parameters:
- owner- The user or organization owning the repository. This parameter is required.
- Returns:
- this
 
- 
repositorySets the value ofGitLabSourceCodeProviderProps.getRepository()- Parameters:
- repository- The name of the repository. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<GitLabSourceCodeProviderProps>
- Returns:
- a new instance of GitLabSourceCodeProviderProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-