Class AppsyncResolverCachingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.appsync_resolver.AppsyncResolverCachingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppsyncResolverCachingConfig>
- Enclosing interface:
- AppsyncResolverCachingConfig
@Stability(Stable) public static final class AppsyncResolverCachingConfig.Builder extends Object implements software.amazon.jsii.Builder<AppsyncResolverCachingConfig>
A builder forAppsyncResolverCachingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppsyncResolverCachingConfigbuild()Builds the configured instance.AppsyncResolverCachingConfig.BuildercachingKeys(List<String> cachingKeys)Sets the value ofAppsyncResolverCachingConfig.getCachingKeys()AppsyncResolverCachingConfig.Builderttl(Number ttl)Sets the value ofAppsyncResolverCachingConfig.getTtl()
-
-
-
Method Detail
-
cachingKeys
@Stability(Stable) public AppsyncResolverCachingConfig.Builder cachingKeys(List<String> cachingKeys)
Sets the value ofAppsyncResolverCachingConfig.getCachingKeys()- Parameters:
cachingKeys- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#caching_keys AppsyncResolver#caching_keys}.- Returns:
this
-
ttl
@Stability(Stable) public AppsyncResolverCachingConfig.Builder ttl(Number ttl)
Sets the value ofAppsyncResolverCachingConfig.getTtl()- Parameters:
ttl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_resolver#ttl AppsyncResolver#ttl}.- Returns:
this
-
build
@Stability(Stable) public AppsyncResolverCachingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppsyncResolverCachingConfig>- Returns:
- a new instance of
AppsyncResolverCachingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-