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