Class SqlDatabaseInstanceSettingsDataCacheConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.sql_database_instance.SqlDatabaseInstanceSettingsDataCacheConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SqlDatabaseInstanceSettingsDataCacheConfig>
- Enclosing interface:
- SqlDatabaseInstanceSettingsDataCacheConfig
@Stability(Stable) public static final class SqlDatabaseInstanceSettingsDataCacheConfig.Builder extends Object implements software.amazon.jsii.Builder<SqlDatabaseInstanceSettingsDataCacheConfig>
A builder forSqlDatabaseInstanceSettingsDataCacheConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlDatabaseInstanceSettingsDataCacheConfigbuild()Builds the configured instance.SqlDatabaseInstanceSettingsDataCacheConfig.BuilderdataCacheEnabled(com.hashicorp.cdktf.IResolvable dataCacheEnabled)Sets the value ofSqlDatabaseInstanceSettingsDataCacheConfig.getDataCacheEnabled()SqlDatabaseInstanceSettingsDataCacheConfig.BuilderdataCacheEnabled(Boolean dataCacheEnabled)Sets the value ofSqlDatabaseInstanceSettingsDataCacheConfig.getDataCacheEnabled()
-
-
-
Method Detail
-
dataCacheEnabled
@Stability(Stable) public SqlDatabaseInstanceSettingsDataCacheConfig.Builder dataCacheEnabled(Boolean dataCacheEnabled)
Sets the value ofSqlDatabaseInstanceSettingsDataCacheConfig.getDataCacheEnabled()- Parameters:
dataCacheEnabled- Whether data cache is enabled for the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#data_cache_enabled SqlDatabaseInstance#data_cache_enabled}- Returns:
this
-
dataCacheEnabled
@Stability(Stable) public SqlDatabaseInstanceSettingsDataCacheConfig.Builder dataCacheEnabled(com.hashicorp.cdktf.IResolvable dataCacheEnabled)
Sets the value ofSqlDatabaseInstanceSettingsDataCacheConfig.getDataCacheEnabled()- Parameters:
dataCacheEnabled- Whether data cache is enabled for the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#data_cache_enabled SqlDatabaseInstance#data_cache_enabled}- Returns:
this
-
build
@Stability(Stable) public SqlDatabaseInstanceSettingsDataCacheConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SqlDatabaseInstanceSettingsDataCacheConfig>- Returns:
- a new instance of
SqlDatabaseInstanceSettingsDataCacheConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-