Package com.pulumi.aws.appsync.inputs
Class ApiCacheState.Builder
- java.lang.Object
-
- com.pulumi.aws.appsync.inputs.ApiCacheState.Builder
-
- Enclosing class:
- ApiCacheState
public static final class ApiCacheState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ApiCacheState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCacheState.Builder
apiCachingBehavior(com.pulumi.core.Output<java.lang.String> apiCachingBehavior)
ApiCacheState.Builder
apiCachingBehavior(java.lang.String apiCachingBehavior)
ApiCacheState.Builder
apiId(com.pulumi.core.Output<java.lang.String> apiId)
ApiCacheState.Builder
apiId(java.lang.String apiId)
ApiCacheState.Builder
atRestEncryptionEnabled(com.pulumi.core.Output<java.lang.Boolean> atRestEncryptionEnabled)
ApiCacheState.Builder
atRestEncryptionEnabled(java.lang.Boolean atRestEncryptionEnabled)
ApiCacheState
build()
ApiCacheState.Builder
transitEncryptionEnabled(com.pulumi.core.Output<java.lang.Boolean> transitEncryptionEnabled)
ApiCacheState.Builder
transitEncryptionEnabled(java.lang.Boolean transitEncryptionEnabled)
ApiCacheState.Builder
ttl(com.pulumi.core.Output<java.lang.Integer> ttl)
ApiCacheState.Builder
ttl(java.lang.Integer ttl)
ApiCacheState.Builder
type(com.pulumi.core.Output<java.lang.String> type)
ApiCacheState.Builder
type(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ApiCacheState defaults)
-
-
Method Detail
-
apiCachingBehavior
public ApiCacheState.Builder apiCachingBehavior(@Nullable com.pulumi.core.Output<java.lang.String> apiCachingBehavior)
- Parameters:
apiCachingBehavior
- Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.- Returns:
- builder
-
apiCachingBehavior
public ApiCacheState.Builder apiCachingBehavior(java.lang.String apiCachingBehavior)
- Parameters:
apiCachingBehavior
- Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.- Returns:
- builder
-
apiId
public ApiCacheState.Builder apiId(@Nullable com.pulumi.core.Output<java.lang.String> apiId)
- Parameters:
apiId
- GraphQL API ID.- Returns:
- builder
-
apiId
public ApiCacheState.Builder apiId(java.lang.String apiId)
- Parameters:
apiId
- GraphQL API ID.- Returns:
- builder
-
atRestEncryptionEnabled
public ApiCacheState.Builder atRestEncryptionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> atRestEncryptionEnabled)
- Parameters:
atRestEncryptionEnabled
- At-rest encryption flag for cache. You cannot update this setting after creation.- Returns:
- builder
-
atRestEncryptionEnabled
public ApiCacheState.Builder atRestEncryptionEnabled(java.lang.Boolean atRestEncryptionEnabled)
- Parameters:
atRestEncryptionEnabled
- At-rest encryption flag for cache. You cannot update this setting after creation.- Returns:
- builder
-
transitEncryptionEnabled
public ApiCacheState.Builder transitEncryptionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> transitEncryptionEnabled)
- Parameters:
transitEncryptionEnabled
- Transit encryption flag when connecting to cache. You cannot update this setting after creation.- Returns:
- builder
-
transitEncryptionEnabled
public ApiCacheState.Builder transitEncryptionEnabled(java.lang.Boolean transitEncryptionEnabled)
- Parameters:
transitEncryptionEnabled
- Transit encryption flag when connecting to cache. You cannot update this setting after creation.- Returns:
- builder
-
ttl
public ApiCacheState.Builder ttl(@Nullable com.pulumi.core.Output<java.lang.Integer> ttl)
- Parameters:
ttl
- TTL in seconds for cache entries.- Returns:
- builder
-
ttl
public ApiCacheState.Builder ttl(java.lang.Integer ttl)
- Parameters:
ttl
- TTL in seconds for cache entries.- Returns:
- builder
-
type
public ApiCacheState.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- Cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.- Returns:
- builder
-
type
public ApiCacheState.Builder type(java.lang.String type)
- Parameters:
type
- Cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.- Returns:
- builder
-
build
public ApiCacheState build()
-
-