Interface CacheConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CacheConfig.Builder,CacheConfig>,SdkBuilder<CacheConfig.Builder,CacheConfig>,SdkPojo
- Enclosing class:
- CacheConfig
public static interface CacheConfig.Builder extends SdkPojo, CopyableBuilder<CacheConfig.Builder,CacheConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheConfig.Buildertype(String type)The type of cache configuration to use for an Amplify app.CacheConfig.Buildertype(CacheConfigType type)The type of cache configuration to use for an Amplify app.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
CacheConfig.Builder type(String type)
The type of cache configuration to use for an Amplify app.
The
AMPLIFY_MANAGEDcache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting.The
AMPLIFY_MANAGED_NO_COOKIEScache configuration type is the same asAMPLIFY_MANAGED, except that it excludes all cookies from the cache key.- Parameters:
type- The type of cache configuration to use for an Amplify app.The
AMPLIFY_MANAGEDcache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting.The
AMPLIFY_MANAGED_NO_COOKIEScache configuration type is the same asAMPLIFY_MANAGED, except that it excludes all cookies from the cache key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CacheConfigType,CacheConfigType
-
type
CacheConfig.Builder type(CacheConfigType type)
The type of cache configuration to use for an Amplify app.
The
AMPLIFY_MANAGEDcache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting.The
AMPLIFY_MANAGED_NO_COOKIEScache configuration type is the same asAMPLIFY_MANAGED, except that it excludes all cookies from the cache key.- Parameters:
type- The type of cache configuration to use for an Amplify app.The
AMPLIFY_MANAGEDcache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting.The
AMPLIFY_MANAGED_NO_COOKIEScache configuration type is the same asAMPLIFY_MANAGED, except that it excludes all cookies from the cache key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CacheConfigType,CacheConfigType
-
-