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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachingConfig.BuildercachingKeys(String... cachingKeys)The caching keys for a resolver that has caching activated.CachingConfig.BuildercachingKeys(Collection<String> cachingKeys)The caching keys for a resolver that has caching activated.CachingConfig.Builderttl(Long ttl)The TTL in seconds for a resolver that has caching activated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ttl
CachingConfig.Builder ttl(Long 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.identitymaps.- Parameters:
cachingKeys- The caching keys for a resolver that has caching activated.Valid values are entries from the
$context.arguments,$context.source, and$context.identitymaps.- 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.identitymaps.- Parameters:
cachingKeys- The caching keys for a resolver that has caching activated.Valid values are entries from the
$context.arguments,$context.source, and$context.identitymaps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-