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