Interface UpdatedA2aAgentCardDescriptorFields.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedA2aAgentCardDescriptorFields.Builder,,UpdatedA2aAgentCardDescriptorFields> SdkBuilder<UpdatedA2aAgentCardDescriptorFields.Builder,,UpdatedA2aAgentCardDescriptorFields> SdkPojo
- Enclosing class:
UpdatedA2aAgentCardDescriptorFields
@Mutable
@NotThreadSafe
public static interface UpdatedA2aAgentCardDescriptorFields.Builder
extends SdkPojo, CopyableBuilder<UpdatedA2aAgentCardDescriptorFields.Builder,UpdatedA2aAgentCardDescriptorFields>
-
Method Summary
Modifier and TypeMethodDescriptionThe patch for the descriptor's data field.data(UpdatedDescriptorData data) The patch for the descriptor's data field.dataSchemaVersion(Consumer<UpdatedDataSchemaVersion.Builder> dataSchemaVersion) The patch for the descriptor's data schema version field.dataSchemaVersion(UpdatedDataSchemaVersion dataSchemaVersion) The patch for the descriptor's data schema version field.The patch for the descriptor's source field.source(UpdatedDescriptorSource source) The patch for the descriptor's source field.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 patch for the descriptor's data field.
- Parameters:
data- The patch for the descriptor's data field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
default UpdatedA2aAgentCardDescriptorFields.Builder data(Consumer<UpdatedDescriptorData.Builder> data) The patch for the descriptor's data field.
This is a convenience method that creates an instance of theUpdatedDescriptorData.Builderavoiding the need to create one manually viaUpdatedDescriptorData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(UpdatedDescriptorData).- Parameters:
data- a consumer that will call methods onUpdatedDescriptorData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSchemaVersion
UpdatedA2aAgentCardDescriptorFields.Builder dataSchemaVersion(UpdatedDataSchemaVersion dataSchemaVersion) The patch for the descriptor's data schema version field.
- Parameters:
dataSchemaVersion- The patch for the descriptor's data schema version field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSchemaVersion
default UpdatedA2aAgentCardDescriptorFields.Builder dataSchemaVersion(Consumer<UpdatedDataSchemaVersion.Builder> dataSchemaVersion) The patch for the descriptor's data schema version field.
This is a convenience method that creates an instance of theUpdatedDataSchemaVersion.Builderavoiding the need to create one manually viaUpdatedDataSchemaVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSchemaVersion(UpdatedDataSchemaVersion).- Parameters:
dataSchemaVersion- a consumer that will call methods onUpdatedDataSchemaVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The patch for the descriptor's source field.
- Parameters:
source- The patch for the descriptor's source field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default UpdatedA2aAgentCardDescriptorFields.Builder source(Consumer<UpdatedDescriptorSource.Builder> source) The patch for the descriptor's source field.
This is a convenience method that creates an instance of theUpdatedDescriptorSource.Builderavoiding the need to create one manually viaUpdatedDescriptorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(UpdatedDescriptorSource).- Parameters:
source- a consumer that will call methods onUpdatedDescriptorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-