Class McpServerSetToolOutputFormattingActionBuilder
java.lang.Object
com.commercetools.api.models.mcp_server.McpServerSetToolOutputFormattingActionBuilder
- All Implemented Interfaces:
Builder<McpServerSetToolOutputFormattingAction>
public class McpServerSetToolOutputFormattingActionBuilder
extends Object
implements Builder<McpServerSetToolOutputFormattingAction>
McpServerSetToolOutputFormattingActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
McpServerSetToolOutputFormattingAction mcpServerSetToolOutputFormattingAction = McpServerSetToolOutputFormattingAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds McpServerSetToolOutputFormattingAction with checking for non-null required valuesbuilds McpServerSetToolOutputFormattingAction without checking for non-null required valuesValue to set.of()factory method for an instance of McpServerSetToolOutputFormattingActionBuilderof(McpServerSetToolOutputFormattingAction template) create builder for McpServerSetToolOutputFormattingAction instancetoolOutputFormatting(McpServerToolOutputFormatting toolOutputFormatting) Value to set.
-
Constructor Details
-
McpServerSetToolOutputFormattingActionBuilder
public McpServerSetToolOutputFormattingActionBuilder()
-
-
Method Details
-
toolOutputFormatting
public McpServerSetToolOutputFormattingActionBuilder toolOutputFormatting(@Nullable McpServerToolOutputFormatting toolOutputFormatting) Value to set. If absent, the existing formatting is removed.
- Parameters:
toolOutputFormatting- value to be set- Returns:
- Builder
-
getToolOutputFormatting
Value to set. If absent, the existing formatting is removed.
- Returns:
- toolOutputFormatting
-
build
builds McpServerSetToolOutputFormattingAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<McpServerSetToolOutputFormattingAction>- Returns:
- McpServerSetToolOutputFormattingAction
-
buildUnchecked
builds McpServerSetToolOutputFormattingAction without checking for non-null required values- Returns:
- McpServerSetToolOutputFormattingAction
-
of
factory method for an instance of McpServerSetToolOutputFormattingActionBuilder- Returns:
- builder
-
of
public static McpServerSetToolOutputFormattingActionBuilder of(McpServerSetToolOutputFormattingAction template) create builder for McpServerSetToolOutputFormattingAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-