Class HarnessSkill
java.lang.Object
software.amazon.awssdk.services.bedrockagentcorecontrol.model.HarnessSkill
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HarnessSkill.Builder,HarnessSkill>
@Generated("software.amazon.awssdk:codegen")
public final class HarnessSkill
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<HarnessSkill.Builder,HarnessSkill>
A skill available to the agent.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionAWS Skills baked into the harness's underlying Runtime.static HarnessSkill.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static HarnessSkillfromAwsSkills(Consumer<HarnessSkillAwsSkillsSource.Builder> awsSkills) Create an instance of this class withawsSkills()initialized to the given value.static HarnessSkillfromAwsSkills(HarnessSkillAwsSkillsSource awsSkills) Create an instance of this class withawsSkills()initialized to the given value.static HarnessSkillCreate an instance of this class withgit()initialized to the given value.static HarnessSkillCreate an instance of this class withgit()initialized to the given value.static HarnessSkillCreate an instance of this class withpath()initialized to the given value.static HarnessSkillCreate an instance of this class withs3()initialized to the given value.static HarnessSkillCreate an instance of this class withs3()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final HarnessSkillGitSourcegit()A git repository containing the skill.final inthashCode()final Stringpath()The filesystem path to the skill definition.final HarnessSkillS3Sources3()An S3 source containing the skill.static Class<? extends HarnessSkill.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
path
The filesystem path to the skill definition.
- Returns:
- The filesystem path to the skill definition.
-
s3
An S3 source containing the skill.
- Returns:
- An S3 source containing the skill.
-
git
A git repository containing the skill.
- Returns:
- A git repository containing the skill.
-
awsSkills
AWS Skills baked into the harness's underlying Runtime.
- Returns:
- AWS Skills baked into the harness's underlying Runtime.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HarnessSkill.Builder,HarnessSkill> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromPath
Create an instance of this class withpath()initialized to the given value.The filesystem path to the skill definition.
- Parameters:
path- The filesystem path to the skill definition.
-
fromS3
Create an instance of this class withs3()initialized to the given value.An S3 source containing the skill.
- Parameters:
s3- An S3 source containing the skill.
-
fromS3
Create an instance of this class withs3()initialized to the given value.An S3 source containing the skill.
- Parameters:
s3- An S3 source containing the skill.
-
fromGit
Create an instance of this class withgit()initialized to the given value.A git repository containing the skill.
- Parameters:
git- A git repository containing the skill.
-
fromGit
Create an instance of this class withgit()initialized to the given value.A git repository containing the skill.
- Parameters:
git- A git repository containing the skill.
-
fromAwsSkills
Create an instance of this class withawsSkills()initialized to the given value.AWS Skills baked into the harness's underlying Runtime.
- Parameters:
awsSkills- AWS Skills baked into the harness's underlying Runtime.
-
fromAwsSkills
Create an instance of this class withawsSkills()initialized to the given value.AWS Skills baked into the harness's underlying Runtime.
- Parameters:
awsSkills- AWS Skills baked into the harness's underlying Runtime.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beHarnessSkill.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beHarnessSkill.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-