Interface UpdatedMcpToolsDescriptorFields.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedMcpToolsDescriptorFields.Builder,,UpdatedMcpToolsDescriptorFields> SdkBuilder<UpdatedMcpToolsDescriptorFields.Builder,,UpdatedMcpToolsDescriptorFields> SdkPojo
- Enclosing class:
UpdatedMcpToolsDescriptorFields
@Mutable
@NotThreadSafe
public static interface UpdatedMcpToolsDescriptorFields.Builder
extends SdkPojo, CopyableBuilder<UpdatedMcpToolsDescriptorFields.Builder,UpdatedMcpToolsDescriptorFields>
-
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.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
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
UpdatedMcpToolsDescriptorFields.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 UpdatedMcpToolsDescriptorFields.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:
-