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
Modifier and TypeMethodDescriptioncachingKeys(String... cachingKeys) The caching keys for a resolver that has caching activated.cachingKeys(Collection<String> cachingKeys) The caching keys for a resolver that has caching activated.The TTL in seconds for a resolver that has caching activated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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.
-