Interface CachePointBlock.Builder

    • Method Detail

      • type

        CachePointBlock.Builder type​(String type)

        Specifies the type of cache point within the CachePointBlock.

        Parameters:
        type - Specifies the type of cache point within the CachePointBlock.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CachePointType, CachePointType
      • type

        CachePointBlock.Builder type​(CachePointType type)

        Specifies the type of cache point within the CachePointBlock.

        Parameters:
        type - Specifies the type of cache point within the CachePointBlock.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CachePointType, CachePointType
      • ttl

        CachePointBlock.Builder ttl​(String ttl)

        Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses type value for caching behavior.

        Parameters:
        ttl - Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses type value for caching behavior.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CacheTTL, CacheTTL
      • ttl

        CachePointBlock.Builder ttl​(CacheTTL ttl)

        Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses type value for caching behavior.

        Parameters:
        ttl - Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses type value for caching behavior.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CacheTTL, CacheTTL