Class ArtifactsOptions.Builder
java.lang.Object
com.google.genkit.plugins.middleware.ArtifactsOptions.Builder
- Enclosing class:
ArtifactsOptions
Builder for
ArtifactsOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theArtifactsOptions.readonly(boolean readonly) Sets whether artifact writing is disabled.
-
Method Details
-
readonly
Sets whether artifact writing is disabled. Whentrue,Artifacts.tools()omits thewrite_artifacttool.- Parameters:
readonly-trueto produce only the read tool- Returns:
- this builder
-
build
Builds theArtifactsOptions.- Returns:
- a new
ArtifactsOptions
-