Class SourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.SourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceProps>
- Enclosing interface:
SourceProps
@Stability(Stable)
public static final class SourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<SourceProps>
A builder for
SourceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.identifier
(String identifier) Sets the value ofSourceProps.getIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identifier
Sets the value ofSourceProps.getIdentifier()
- Parameters:
identifier
- The source identifier. This property is required on secondary sources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SourceProps>
- Returns:
- a new instance of
SourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-