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
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 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.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
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.
-