Interface ToolSchema.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolSchema.Builder,,ToolSchema> SdkBuilder<ToolSchema.Builder,,ToolSchema> SdkPojo
- Enclosing class:
ToolSchema
-
Method Summary
Modifier and TypeMethodDescriptioninlinePayload(Collection<ToolDefinition> inlinePayload) The inline payload of the tool schema.inlinePayload(Consumer<ToolDefinition.Builder>... inlinePayload) The inline payload of the tool schema.inlinePayload(ToolDefinition... inlinePayload) The inline payload of the tool schema.default ToolSchema.BuilderThe Amazon S3 location of the tool schema.s3(S3Configuration s3) The Amazon S3 location of the tool schema.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
-
s3
The Amazon S3 location of the tool schema. This location contains the schema definition file.
- Parameters:
s3- The Amazon S3 location of the tool schema. This location contains the schema definition file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon S3 location of the tool schema. This location contains the schema definition file.
This is a convenience method that creates an instance of theS3Configuration.Builderavoiding the need to create one manually viaS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Configuration).- Parameters:
s3- a consumer that will call methods onS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inlinePayload
The inline payload of the tool schema. This payload contains the schema definition directly in the request.
- Parameters:
inlinePayload- The inline payload of the tool schema. This payload contains the schema definition directly in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlinePayload
The inline payload of the tool schema. This payload contains the schema definition directly in the request.
- Parameters:
inlinePayload- The inline payload of the tool schema. This payload contains the schema definition directly in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlinePayload
The inline payload of the tool schema. This payload contains the schema definition directly in the request.
This is a convenience method that creates an instance of theToolDefinition.Builderavoiding the need to create one manually viaToolDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinlinePayload(List<ToolDefinition>).- Parameters:
inlinePayload- a consumer that will call methods onToolDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-