Interface HarnessSkill.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessSkill.Builder,,HarnessSkill> SdkBuilder<HarnessSkill.Builder,,HarnessSkill> SdkPojo
- Enclosing class:
HarnessSkill
@Mutable
@NotThreadSafe
public static interface HarnessSkill.Builder
extends SdkPojo, CopyableBuilder<HarnessSkill.Builder,HarnessSkill>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HarnessSkill.BuilderawsSkills(Consumer<HarnessSkillAwsSkillsSource.Builder> awsSkills) AWS Skills baked into the harness's underlying Runtime.awsSkills(HarnessSkillAwsSkillsSource awsSkills) AWS Skills baked into the harness's underlying Runtime.default HarnessSkill.BuilderA git repository containing the skill.git(HarnessSkillGitSource git) A git repository containing the skill.The filesystem path to the skill definition.default HarnessSkill.BuilderAn S3 source containing the skill.An S3 source containing the skill.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
path
The filesystem path to the skill definition.
- Parameters:
path- The filesystem path to the skill definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
An S3 source containing the skill.
- Parameters:
s3- An S3 source containing the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
An S3 source containing the skill.
This is a convenience method that creates an instance of theHarnessSkillS3Source.Builderavoiding the need to create one manually viaHarnessSkillS3Source.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(HarnessSkillS3Source).- Parameters:
s3- a consumer that will call methods onHarnessSkillS3Source.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
git
A git repository containing the skill.
- Parameters:
git- A git repository containing the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
git
A git repository containing the skill.
This is a convenience method that creates an instance of theHarnessSkillGitSource.Builderavoiding the need to create one manually viaHarnessSkillGitSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togit(HarnessSkillGitSource).- Parameters:
git- a consumer that will call methods onHarnessSkillGitSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsSkills
AWS Skills baked into the harness's underlying Runtime.
- Parameters:
awsSkills- AWS Skills baked into the harness's underlying Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsSkills
AWS Skills baked into the harness's underlying Runtime.
This is a convenience method that creates an instance of theHarnessSkillAwsSkillsSource.Builderavoiding the need to create one manually viaHarnessSkillAwsSkillsSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsSkills(HarnessSkillAwsSkillsSource).- Parameters:
awsSkills- a consumer that will call methods onHarnessSkillAwsSkillsSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-