Class ApiCacheState.Builder

  • Enclosing class:
    ApiCacheState

    public static final class ApiCacheState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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