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 TypeMethodDescriptionSets the value of the Data property for this object.dataSchemaVersion(String dataSchemaVersion) Sets the value of the DataSchemaVersion property for this object.default A2aAgentCardDescriptor.Buildersource(Consumer<DescriptorSource.Builder> source) The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.source(DescriptorSource source) The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.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
Sets the value of the Data property for this object.- Parameters:
data- The new value for the Data property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSchemaVersion
Sets the value of the DataSchemaVersion property for this object.- Parameters:
dataSchemaVersion- The new value for the DataSchemaVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.
- Parameters:
source- The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.
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:
-