Interface A2aAgentCardDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<A2aAgentCardDescriptor.Builder,,A2aAgentCardDescriptor> SdkBuilder<A2aAgentCardDescriptor.Builder,,A2aAgentCardDescriptor> SdkPojo
- Enclosing class:
A2aAgentCardDescriptor
@Mutable
@NotThreadSafe
public static interface A2aAgentCardDescriptor.Builder
extends SdkPojo, CopyableBuilder<A2aAgentCardDescriptor.Builder,A2aAgentCardDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionThe A2A agent card content, serialized as descriptor payload data.dataSchemaVersion(String dataSchemaVersion) The schema version of the descriptor payload.default A2aAgentCardDescriptor.Buildersource(Consumer<DescriptorSource.Builder> source) The optional source configuration used to synchronize the A2A agent card descriptor content.source(DescriptorSource source) The optional source configuration used to synchronize the A2A agent card descriptor content.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
-
data
The A2A agent card content, serialized as descriptor payload data.
- Parameters:
data- The A2A agent card content, serialized as descriptor payload data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSchemaVersion
The schema version of the descriptor payload.
- Parameters:
dataSchemaVersion- The schema version of the descriptor payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The optional source configuration used to synchronize the A2A agent card descriptor content.
- Parameters:
source- The optional source configuration used to synchronize the A2A agent card descriptor content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The optional source configuration used to synchronize the A2A agent card descriptor content.
This is a convenience method that creates an instance of theDescriptorSource.Builderavoiding the need to create one manually viaDescriptorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(DescriptorSource).- Parameters:
source- a consumer that will call methods onDescriptorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-