Class HarnessSkill
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.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 TypeMethodDescriptionstatic HarnessSkill.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) 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>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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<HarnessSkill.Builder,HarnessSkill>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
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.
-
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
-