Class CfnAppPropsMixin.CacheConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplify.CfnAppPropsMixin.CacheConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppPropsMixin.CacheConfigProperty>
- Enclosing interface:
CfnAppPropsMixin.CacheConfigProperty
@Stability(Stable)
public static final class CfnAppPropsMixin.CacheConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppPropsMixin.CacheConfigProperty>
A builder for
CfnAppPropsMixin.CacheConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAppPropsMixin.CacheConfigProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnAppPropsMixin.CacheConfigProperty.getType()- Parameters:
type- The type of cache configuration to use for an Amplify app. TheAMPLIFY_MANAGEDcache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules.The
AMPLIFY_MANAGED_NO_COOKIEScache configuration type is the same asAMPLIFY_MANAGED, except that it excludes all cookies from the cache key. This is the default setting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppPropsMixin.CacheConfigProperty>- Returns:
- a new instance of
CfnAppPropsMixin.CacheConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-