Interface AgentSkillsDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentSkillsDescriptor.Builder,,AgentSkillsDescriptor> SdkBuilder<AgentSkillsDescriptor.Builder,,AgentSkillsDescriptor> SdkPojo
- Enclosing class:
AgentSkillsDescriptor
@Mutable
@NotThreadSafe
public static interface AgentSkillsDescriptor.Builder
extends SdkPojo, CopyableBuilder<AgentSkillsDescriptor.Builder,AgentSkillsDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgentSkillsDescriptor.BuilderskillDefinition(Consumer<SkillDefinition.Builder> skillDefinition) The structured skill definition with schema version and content.skillDefinition(SkillDefinition skillDefinition) The structured skill definition with schema version and content.default AgentSkillsDescriptor.BuilderskillMd(Consumer<SkillMdDefinition.Builder> skillMd) The optional skill markdown definition describing the agent's skills in a human-readable format.skillMd(SkillMdDefinition skillMd) The optional skill markdown definition describing the agent's skills in a human-readable format.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
-
skillMd
The optional skill markdown definition describing the agent's skills in a human-readable format.
- Parameters:
skillMd- The optional skill markdown definition describing the agent's skills in a human-readable format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skillMd
The optional skill markdown definition describing the agent's skills in a human-readable format.
This is a convenience method that creates an instance of theSkillMdDefinition.Builderavoiding the need to create one manually viaSkillMdDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toskillMd(SkillMdDefinition).- Parameters:
skillMd- a consumer that will call methods onSkillMdDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
skillDefinition
The structured skill definition with schema version and content.
- Parameters:
skillDefinition- The structured skill definition with schema version and content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skillDefinition
default AgentSkillsDescriptor.Builder skillDefinition(Consumer<SkillDefinition.Builder> skillDefinition) The structured skill definition with schema version and content.
This is a convenience method that creates an instance of theSkillDefinition.Builderavoiding the need to create one manually viaSkillDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toskillDefinition(SkillDefinition).- Parameters:
skillDefinition- a consumer that will call methods onSkillDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-