Class CfnProject.ScopeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.CfnProject.ScopeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject.ScopeConfigurationProperty>
- Enclosing interface:
CfnProject.ScopeConfigurationProperty
@Stability(Stable)
public static final class CfnProject.ScopeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProject.ScopeConfigurationProperty>
A builder for
CfnProject.ScopeConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnProject.ScopeConfigurationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnProject.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. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject.ScopeConfigurationProperty>
- Returns:
- a new instance of
CfnProject.ScopeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-