Class CfnProjectPropsMixin.ScopeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnProjectPropsMixin.ScopeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectPropsMixin.ScopeConfigurationProperty>
- Enclosing interface:
CfnProjectPropsMixin.ScopeConfigurationProperty
@Stability(Stable)
public static final class CfnProjectPropsMixin.ScopeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectPropsMixin.ScopeConfigurationProperty>
A builder for
CfnProjectPropsMixin.ScopeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProjectPropsMixin.ScopeConfigurationProperty.getDomain()Sets the value ofCfnProjectPropsMixin.ScopeConfigurationProperty.getName()Sets the value ofCfnProjectPropsMixin.ScopeConfigurationProperty.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
@Stability(Stable) public CfnProjectPropsMixin.ScopeConfigurationProperty.Builder domain(String domain) Sets the value ofCfnProjectPropsMixin.ScopeConfigurationProperty.getDomain()- Parameters:
domain- The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.- Returns:
this
-
name
Sets the value ofCfnProjectPropsMixin.ScopeConfigurationProperty.getName()- Parameters:
name- The name of either the enterprise or organization that will send webhook events to CodeBuild , depending on if the webhook is a global or organization webhook respectively.- Returns:
this
-
scope
@Stability(Stable) public CfnProjectPropsMixin.ScopeConfigurationProperty.Builder scope(String scope) Sets the value ofCfnProjectPropsMixin.ScopeConfigurationProperty.getScope()- Parameters:
scope- The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectPropsMixin.ScopeConfigurationProperty>- Returns:
- a new instance of
CfnProjectPropsMixin.ScopeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-