Interface CachingConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CachingConfig.Builder,CachingConfig>, SdkBuilder<CachingConfig.Builder,CachingConfig>, SdkPojo
Enclosing class:
CachingConfig

public static interface CachingConfig.Builder extends SdkPojo, CopyableBuilder<CachingConfig.Builder,CachingConfig>
  • Method Details

    • ttl

      The TTL in seconds for a resolver that has caching activated.

      Valid values are 1–3,600 seconds.

      Parameters:
      ttl - The TTL in seconds for a resolver that has caching activated.

      Valid values are 1–3,600 seconds.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cachingKeys

      CachingConfig.Builder cachingKeys(Collection<String> cachingKeys)

      The caching keys for a resolver that has caching activated.

      Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

      Parameters:
      cachingKeys - The caching keys for a resolver that has caching activated.

      Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cachingKeys

      CachingConfig.Builder cachingKeys(String... cachingKeys)

      The caching keys for a resolver that has caching activated.

      Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

      Parameters:
      cachingKeys - The caching keys for a resolver that has caching activated.

      Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

      Returns:
      Returns a reference to this object so that method calls can be chained together.