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