Class CfnHarnessPropsMixin.HarnessSkillProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarnessPropsMixin.HarnessSkillProperty>
- Enclosing interface:
CfnHarnessPropsMixin.HarnessSkillProperty
@Stability(Stable)
public static final class CfnHarnessPropsMixin.HarnessSkillProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarnessPropsMixin.HarnessSkillProperty>
A builder for
CfnHarnessPropsMixin.HarnessSkillProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getAwsSkills()awsSkills(IResolvable awsSkills) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getAwsSkills()build()Builds the configured instance.Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getGit()git(IResolvable git) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getGit()Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getPath()Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getS3()s3(IResolvable s3) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsSkills
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSkillProperty.Builder awsSkills(IResolvable awsSkills) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getAwsSkills()- Parameters:
awsSkills- AWS Skills baked into the Harness's underlying Runtime.- Returns:
this
-
awsSkills
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSkillProperty.Builder awsSkills(CfnHarnessPropsMixin.HarnessSkillAwsSkillsSourceProperty awsSkills) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getAwsSkills()- Parameters:
awsSkills- AWS Skills baked into the Harness's underlying Runtime.- Returns:
this
-
git
Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getGit()- Parameters:
git- A git repository containing the skill, cloned over HTTPS.- Returns:
this
-
git
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSkillProperty.Builder git(CfnHarnessPropsMixin.HarnessSkillGitSourceProperty git) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getGit()- Parameters:
git- A git repository containing the skill, cloned over HTTPS.- Returns:
this
-
path
Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getPath()- Parameters:
path- The filesystem path to the skill definition.- Returns:
this
-
s3
Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getS3()- Parameters:
s3- An S3 source containing the skill.- Returns:
this
-
s3
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSkillProperty.Builder s3(CfnHarnessPropsMixin.HarnessSkillS3SourceProperty s3) Sets the value ofCfnHarnessPropsMixin.HarnessSkillProperty.getS3()- Parameters:
s3- An S3 source containing the skill.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarnessPropsMixin.HarnessSkillProperty>- Returns:
- a new instance of
CfnHarnessPropsMixin.HarnessSkillProperty - Throws:
NullPointerException- if any required attribute was not provided
-