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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProject.ScopeConfigurationProperty.getDomain()Sets the value ofCfnProject.ScopeConfigurationProperty.getName()Sets the value ofCfnProject.ScopeConfigurationProperty.getScope()
-
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
-
domain
Sets the value ofCfnProject.ScopeConfigurationProperty.getDomain()- Parameters:
domain- the value to be set.- Returns:
this
-
scope
Sets the value ofCfnProject.ScopeConfigurationProperty.getScope()- Parameters:
scope- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProject.ScopeConfigurationProperty>- Returns:
- a new instance of
CfnProject.ScopeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-