Interface UpdatedMcpDescriptorFields.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedMcpDescriptorFields.Builder,,UpdatedMcpDescriptorFields> SdkBuilder<UpdatedMcpDescriptorFields.Builder,,UpdatedMcpDescriptorFields> SdkPojo
- Enclosing class:
UpdatedMcpDescriptorFields
@Mutable
@NotThreadSafe
public static interface UpdatedMcpDescriptorFields.Builder
extends SdkPojo, CopyableBuilder<UpdatedMcpDescriptorFields.Builder,UpdatedMcpDescriptorFields>
-
Method Summary
Modifier and TypeMethodDescriptionThe updated server definition for the MCP descriptor.server(UpdatedServerDefinition server) The updated server definition for the MCP descriptor.The updated tools definition for the MCP descriptor.tools(UpdatedToolsDefinition tools) The updated tools definition for the MCP descriptor.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
-
server
The updated server definition for the MCP descriptor.
- Parameters:
server- The updated server definition for the MCP descriptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
server
The updated server definition for the MCP descriptor.
This is a convenience method that creates an instance of theUpdatedServerDefinition.Builderavoiding the need to create one manually viaUpdatedServerDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserver(UpdatedServerDefinition).- Parameters:
server- a consumer that will call methods onUpdatedServerDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tools
The updated tools definition for the MCP descriptor.
- Parameters:
tools- The updated tools definition for the MCP descriptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
The updated tools definition for the MCP descriptor.
This is a convenience method that creates an instance of theUpdatedToolsDefinition.Builderavoiding the need to create one manually viaUpdatedToolsDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totools(UpdatedToolsDefinition).- Parameters:
tools- a consumer that will call methods onUpdatedToolsDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-