Interface A2aDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<A2aDescriptor.Builder,,A2aDescriptor> SdkBuilder<A2aDescriptor.Builder,,A2aDescriptor> SdkPojo
- Enclosing class:
A2aDescriptor
@Mutable
@NotThreadSafe
public static interface A2aDescriptor.Builder
extends SdkPojo, CopyableBuilder<A2aDescriptor.Builder,A2aDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault A2aDescriptor.BuilderagentCard(Consumer<AgentCardDefinition.Builder> agentCard) The agent card definition that describes the agent's capabilities and interface.agentCard(AgentCardDefinition agentCard) The agent card definition that describes the agent's capabilities and interface.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
-
agentCard
The agent card definition that describes the agent's capabilities and interface.
- Parameters:
agentCard- The agent card definition that describes the agent's capabilities and interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCard
The agent card definition that describes the agent's capabilities and interface.
This is a convenience method that creates an instance of theAgentCardDefinition.Builderavoiding the need to create one manually viaAgentCardDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentCard(AgentCardDefinition).- Parameters:
agentCard- a consumer that will call methods onAgentCardDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-