Class CfnService.GitLabDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnService.GitLabDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.GitLabDetailsProperty>
- Enclosing interface:
CfnService.GitLabDetailsProperty
@Stability(Stable)
public static final class CfnService.GitLabDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.GitLabDetailsProperty>
A builder for
CfnService.GitLabDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.GitLabDetailsProperty.getGroupId()Sets the value ofCfnService.GitLabDetailsProperty.getTargetUrl()Sets the value ofCfnService.GitLabDetailsProperty.getTokenType()tokenValue(String tokenValue) Sets the value ofCfnService.GitLabDetailsProperty.getTokenValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetUrl
Sets the value ofCfnService.GitLabDetailsProperty.getTargetUrl()- Parameters:
targetUrl- GitLab instance URL. This parameter is required.- Returns:
this
-
tokenType
Sets the value ofCfnService.GitLabDetailsProperty.getTokenType()- Parameters:
tokenType- Type of GitLab access token. This parameter is required.- Returns:
this
-
tokenValue
Sets the value ofCfnService.GitLabDetailsProperty.getTokenValue()- Parameters:
tokenValue- GitLab access token value. This parameter is required.- Returns:
this
-
groupId
Sets the value ofCfnService.GitLabDetailsProperty.getGroupId()- Parameters:
groupId- Optional GitLab group ID for group-level access tokens.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.GitLabDetailsProperty>- Returns:
- a new instance of
CfnService.GitLabDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-