Class GitLabSourceCodeProvider.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.GitLabSourceCodeProvider.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GitLabSourceCodeProvider>
- Enclosing class:
- GitLabSourceCodeProvider
@Stability(Experimental)
public static final class GitLabSourceCodeProvider.Builder
extends Object
implements software.amazon.jsii.Builder<GitLabSourceCodeProvider>
(experimental) A fluent builder for
GitLabSourceCodeProvider.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()oauthToken(SecretValue oauthToken) (experimental) A personal access token with thereposcope.(experimental) The user or organization owning the repository.repository(String repository) (experimental) The name of the repository.
-
Method Details
-
create
- Returns:
- a new instance of
GitLabSourceCodeProvider.Builder.
-
oauthToken
(experimental) A personal access token with thereposcope.- Parameters:
oauthToken- A personal access token with thereposcope. This parameter is required.- Returns:
this
-
owner
(experimental) The user or organization owning the repository.- Parameters:
owner- The user or organization owning the repository. This parameter is required.- Returns:
this
-
repository
(experimental) The name of the repository.- Parameters:
repository- The name of the repository. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GitLabSourceCodeProvider>- Returns:
- a newly built instance of
GitLabSourceCodeProvider.
-