Class CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.inspectorv2.CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty>
- Enclosing interface:
CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty
@Stability(Stable)
public static final class CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) build()Builds the configured instance.instanceUrl(String instanceUrl)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessToken
@Stability(Stable) public CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.Builder accessToken(String accessToken) Sets the value ofCfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.getAccessToken()- Parameters:
accessToken- The personal access token used to authenticate with the self-managed GitLab instance.- Returns:
this
-
instanceUrl
@Stability(Stable) public CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.Builder instanceUrl(String instanceUrl) Sets the value ofCfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty.getInstanceUrl()- Parameters:
instanceUrl- The URL of the self-managed GitLab instance.- Returns:
this
-
build
@Stability(Stable) public CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty>- Returns:
- a new instance of
CfnCodeSecurityIntegrationPropsMixin.CreateGitLabSelfManagedIntegrationDetailProperty - Throws:
NullPointerException- if any required attribute was not provided
-