Class CfnAssociation.GitLabConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.GitLabConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.GitLabConfigurationProperty>
- Enclosing interface:
CfnAssociation.GitLabConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.GitLabConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.GitLabConfigurationProperty>
A builder for
CfnAssociation.GitLabConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getEnableWebhookUpdates()enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getEnableWebhookUpdates()instanceIdentifier(String instanceIdentifier) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getInstanceIdentifier()Sets the value ofCfnAssociation.GitLabConfigurationProperty.getProjectId()projectPath(String projectPath) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getProjectPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
projectId
@Stability(Stable) public CfnAssociation.GitLabConfigurationProperty.Builder projectId(String projectId) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getProjectId()- Parameters:
projectId- GitLab numeric project ID. This parameter is required.- Returns:
this
-
projectPath
@Stability(Stable) public CfnAssociation.GitLabConfigurationProperty.Builder projectPath(String projectPath) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getProjectPath()- Parameters:
projectPath- Full GitLab project path (e.g., namespace/project-name). This parameter is required.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.GitLabConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getEnableWebhookUpdates()- Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.GitLabConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getEnableWebhookUpdates()- Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
instanceIdentifier
@Stability(Stable) public CfnAssociation.GitLabConfigurationProperty.Builder instanceIdentifier(String instanceIdentifier) Sets the value ofCfnAssociation.GitLabConfigurationProperty.getInstanceIdentifier()- Parameters:
instanceIdentifier- GitLab instance identifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.GitLabConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.GitLabConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-