@Stability(value=Stable) public static final class CfnApiCacheProps.Builder extends Object implements software.amazon.jsii.Builder<CfnApiCacheProps>
CfnApiCacheProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnApiCacheProps.Builder apiCachingBehavior(String apiCachingBehavior)
CfnApiCacheProps.getApiCachingBehavior()apiCachingBehavior - Caching behavior. This parameter is required.
this@Stability(value=Stable) public CfnApiCacheProps.Builder apiId(String apiId)
CfnApiCacheProps.getApiId()apiId - The GraphQL API ID. This parameter is required.this@Stability(value=Stable) public CfnApiCacheProps.Builder ttl(Number ttl)
CfnApiCacheProps.getTtl()ttl - TTL in seconds for cache entries. This parameter is required.
Valid values are 1–3,600 seconds.this@Stability(value=Stable) public CfnApiCacheProps.Builder type(String type)
CfnApiCacheProps.getType()type - The cache instance type. Valid values are. This parameter is required.
SMALLMEDIUMLARGEXLARGELARGE_2XLARGE_4XLARGE_8X (not available in all regions)LARGE_12XHistorically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
this@Stability(value=Stable) public CfnApiCacheProps.Builder atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
CfnApiCacheProps.getAtRestEncryptionEnabled()atRestEncryptionEnabled - At-rest encryption flag for cache.
You cannot update this setting after creation.this@Stability(value=Stable) public CfnApiCacheProps.Builder atRestEncryptionEnabled(IResolvable atRestEncryptionEnabled)
CfnApiCacheProps.getAtRestEncryptionEnabled()atRestEncryptionEnabled - At-rest encryption flag for cache.
You cannot update this setting after creation.this@Stability(value=Stable) public CfnApiCacheProps.Builder transitEncryptionEnabled(Boolean transitEncryptionEnabled)
CfnApiCacheProps.getTransitEncryptionEnabled()transitEncryptionEnabled - Transit encryption flag when connecting to cache.
You cannot update this setting after creation.this@Stability(value=Stable) public CfnApiCacheProps.Builder transitEncryptionEnabled(IResolvable transitEncryptionEnabled)
CfnApiCacheProps.getTransitEncryptionEnabled()transitEncryptionEnabled - Transit encryption flag when connecting to cache.
You cannot update this setting after creation.this@Stability(value=Stable) public CfnApiCacheProps build()
build in interface software.amazon.jsii.Builder<CfnApiCacheProps>CfnApiCachePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.