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 for the A2A agent, as defined by the A2A protocol specification.agentCard(AgentCardDefinition agentCard) The agent card definition for the A2A agent, as defined by the A2A protocol specification.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 for the A2A agent, as defined by the A2A protocol specification.
- Parameters:
agentCard- The agent card definition for the A2A agent, as defined by the A2A protocol specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCard
The agent card definition for the A2A agent, as defined by the A2A protocol specification.
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:
-