Class CodeConfig.Builder
java.lang.Object
software.amazon.awscdk.services.codecommit.CodeConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeConfig>
- Enclosing interface:
CodeConfig
@Stability(Stable)
public static final class CodeConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CodeConfig>
A builder for
CodeConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCodeConfig.getCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
Sets the value ofCodeConfig.getCode()
- Parameters:
code
- represents the underlying code structure. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CodeConfig>
- Returns:
- a new instance of
CodeConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-