Class CfnResolverPropsMixin.CachingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnResolverPropsMixin.CachingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverPropsMixin.CachingConfigProperty>
- Enclosing interface:
CfnResolverPropsMixin.CachingConfigProperty
@Stability(Stable)
public static final class CfnResolverPropsMixin.CachingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverPropsMixin.CachingConfigProperty>
A builder for
CfnResolverPropsMixin.CachingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cachingKeys(List<String> cachingKeys) Sets the value ofCfnResolverPropsMixin.CachingConfigProperty.getCachingKeys()Sets the value ofCfnResolverPropsMixin.CachingConfigProperty.getTtl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cachingKeys
@Stability(Stable) public CfnResolverPropsMixin.CachingConfigProperty.Builder cachingKeys(List<String> cachingKeys) Sets the value ofCfnResolverPropsMixin.CachingConfigProperty.getCachingKeys()- 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:
this
-
ttl
Sets the value ofCfnResolverPropsMixin.CachingConfigProperty.getTtl()- Parameters:
ttl- The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResolverPropsMixin.CachingConfigProperty>- Returns:
- a new instance of
CfnResolverPropsMixin.CachingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-