Class CacheControl

java.lang.Object
com.sap.ai.sdk.orchestration.CacheControl

public final class CacheControl extends Object
Represents CacheControl object, used in prompt caching API
  • Constructor Details

    • CacheControl

      public CacheControl(@Nonnull String ttl)
      Constructs cache control object with a ttl
      Parameters:
      ttl - time to live for the cache
  • Method Details

    • getTtl

      public String getTtl()