Interface McpServerAdditionalData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<McpServerAdditionalData.Builder,,McpServerAdditionalData> SdkBuilder<McpServerAdditionalData.Builder,,McpServerAdditionalData> SdkPojo
- Enclosing class:
McpServerAdditionalData
@Mutable
@NotThreadSafe
public static interface McpServerAdditionalData.Builder
extends SdkPojo, CopyableBuilder<McpServerAdditionalData.Builder,McpServerAdditionalData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault McpServerAdditionalData.Buildertools(Consumer<McpToolsDescriptor.Builder> tools) Sets the value of the Tools property for this object.tools(McpToolsDescriptor tools) Sets the value of the Tools property for this object.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
-
tools
Sets the value of the Tools property for this object.- Parameters:
tools- The new value for the Tools property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
Sets the value of the Tools property for this object. This is a convenience method that creates an instance of theMcpToolsDescriptor.Builderavoiding the need to create one manually viaMcpToolsDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totools(McpToolsDescriptor).- Parameters:
tools- a consumer that will call methods onMcpToolsDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-