Class CodeRepositoryReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.sagemaker.CodeRepositoryReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeRepositoryReference>
- Enclosing interface:
CodeRepositoryReference
@Stability(Stable)
public static final class CodeRepositoryReference.Builder
extends Object
implements software.amazon.jsii.Builder<CodeRepositoryReference>
A builder for
CodeRepositoryReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.codeRepositoryId(String codeRepositoryId) Sets the value ofCodeRepositoryReference.getCodeRepositoryId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codeRepositoryId
Sets the value ofCodeRepositoryReference.getCodeRepositoryId()- Parameters:
codeRepositoryId- The Id of the CodeRepository resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeRepositoryReference>- Returns:
- a new instance of
CodeRepositoryReference - Throws:
NullPointerException- if any required attribute was not provided
-