Class CfnHarness.HarnessSkillGitSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessSkillGitSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.HarnessSkillGitSourceProperty>
- Enclosing interface:
CfnHarness.HarnessSkillGitSourceProperty
@Stability(Stable)
public static final class CfnHarness.HarnessSkillGitSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.HarnessSkillGitSourceProperty>
A builder for
CfnHarness.HarnessSkillGitSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauth(IResolvable auth) Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getAuth()Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getAuth()build()Builds the configured instance.Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getPath()Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getUrl()- Parameters:
url- The HTTPS URL of the git repository. This parameter is required.- Returns:
this
-
auth
Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getAuth()- Parameters:
auth- Authentication configuration for accessing a private git repository.- Returns:
this
-
auth
@Stability(Stable) public CfnHarness.HarnessSkillGitSourceProperty.Builder auth(CfnHarness.HarnessSkillGitAuthProperty auth) Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getAuth()- Parameters:
auth- Authentication configuration for accessing a private git repository.- Returns:
this
-
path
Sets the value ofCfnHarness.HarnessSkillGitSourceProperty.getPath()- Parameters:
path- Subdirectory within the repository containing the skill.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.HarnessSkillGitSourceProperty>- Returns:
- a new instance of
CfnHarness.HarnessSkillGitSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-