Interface CacheDetail.Builder

    • Method Detail

      • ttl

        CacheDetail.Builder ttl​(String ttl)

        TTL duration for these cached tokens

        Parameters:
        ttl - TTL duration for these cached tokens
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CacheTTL, CacheTTL
      • ttl

        CacheDetail.Builder ttl​(CacheTTL ttl)

        TTL duration for these cached tokens

        Parameters:
        ttl - TTL duration for these cached tokens
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CacheTTL, CacheTTL
      • inputTokens

        CacheDetail.Builder inputTokens​(Integer inputTokens)

        Number of tokens written to cache with this TTL (cache creation tokens)

        Parameters:
        inputTokens - Number of tokens written to cache with this TTL (cache creation tokens)
        Returns:
        Returns a reference to this object so that method calls can be chained together.