Class BedrockCacheOptions.Builder
java.lang.Object
org.springframework.ai.bedrock.converse.api.BedrockCacheOptions.Builder
- Enclosing class:
- BedrockCacheOptions
Builder for constructing BedrockCacheOptions instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the BedrockCacheOptions instance.strategy(BedrockCacheStrategy strategy) Sets the caching strategy.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
strategy
Sets the caching strategy.- Parameters:
strategy- the BedrockCacheStrategy to use- Returns:
- this Builder instance
-
build
Builds the BedrockCacheOptions instance.- Returns:
- the configured BedrockCacheOptions
-