All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.sqladmin.model.Settings Maven / Gradle / Ivy

The newest version!
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.sqladmin.model;

/**
 * Database instance settings.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class Settings extends com.google.api.client.json.GenericJson { /** * The activation policy specifies when the instance is activated; it is applicable only when the * instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even * in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, * even if a connection request arrives. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String activationPolicy; /** * Active Directory configuration, relevant only for Cloud SQL for SQL Server. * The value may be {@code null}. */ @com.google.api.client.util.Key private SqlActiveDirectoryConfig activeDirectoryConfig; /** * Specifies advanced machine configuration for the instances relevant only for SQL Server. * The value may be {@code null}. */ @com.google.api.client.util.Key private AdvancedMachineFeatures advancedMachineFeatures; /** * The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation * instances only. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List authorizedGaeApplications; /** * Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. * Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from * more than one zone in a region (it is highly available)./ For more information, see [Overview * of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high- * availability). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String availabilityType; /** * The daily backup configuration for the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private BackupConfiguration backupConfiguration; /** * The name of server Instance collation. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String collation; /** * Specifies if connections must use Cloud SQL connectors. Option values include the following: * `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and * `REQUIRED` (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED * disables all existing authorized networks. If this field is not specified when creating a new * instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an * existing instance, it is left unchanged in the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String connectorEnforcement; /** * Configuration specific to read replica instances. Indicates whether database flags for crash- * safe replication are enabled. This property was only applicable to First Generation instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean crashSafeReplicationEnabled; /** * Configuration for data cache. * The value may be {@code null}. */ @com.google.api.client.util.Key private DataCacheConfig dataCacheConfig; /** * The size of data disk, in GB. The data disk size minimum is 10GB. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long dataDiskSizeGb; /** * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String dataDiskType; /** * The database flags passed to the instance at startup. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List databaseFlags; static { // hack to force ProGuard to consider DatabaseFlags used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(DatabaseFlags.class); } /** * Configuration specific to read replica instances. Indicates whether replication is enabled or * not. WARNING: Changing this restarts the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean databaseReplicationEnabled; /** * Configuration to protect against accidental instance deletion. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean deletionProtectionEnabled; /** * Deny maintenance periods * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List denyMaintenancePeriods; static { // hack to force ProGuard to consider DenyMaintenancePeriod used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(DenyMaintenancePeriod.class); } /** * Optional. The edition of the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String edition; /** * Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When * this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is * activated. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enableDataplexIntegration; /** * Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to * pass requests for real-time predictions and insights to the AI. The default value is false. * This applies only to Cloud SQL for PostgreSQL instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enableGoogleMlIntegration; /** * Insights configuration, for now relevant only for Postgres. * The value may be {@code null}. */ @com.google.api.client.util.Key private InsightsConfig insightsConfig; /** * The settings for IP Management. This allows to enable or disable the instance IP and manage * which external networks can connect to the instance. The IPv4 address cannot be disabled for * Second Generation instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private IpConfiguration ipConfiguration; /** * This is always `sql#settings`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * The location preference settings. This allows the instance to be located as near as possible to * either an App Engine app or Compute Engine zone for better performance. App Engine co-location * was only applicable to First Generation instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private LocationPreference locationPreference; /** * The maintenance window for this instance. This specifies when the instance can be restarted for * maintenance purposes. * The value may be {@code null}. */ @com.google.api.client.util.Key private MaintenanceWindow maintenanceWindow; /** * The local user password validation policy of the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private PasswordValidationPolicy passwordValidationPolicy; /** * The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` * is supported for Second Generation instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String pricingPlan; /** * The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. * (Deprecated) This property was only applicable to First Generation instances. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String replicationType; /** * The version of instance settings. This is a required field for update method to make sure * concurrent updates are handled properly. During update, use the most recent settingsVersion * value for this instance and do not try to update this value. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long settingsVersion; /** * SQL Server specific audit configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private SqlServerAuditConfig sqlServerAuditConfig; /** * Configuration to increase storage size automatically. The default value is true. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean storageAutoResize; /** * The maximum size to which storage capacity can be automatically increased. The default value is * 0, which specifies that there is no limit. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long storageAutoResizeLimit; /** * The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing * this restarts the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tier; /** * Server timezone, relevant only for Cloud SQL for SQL Server. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String timeZone; /** * User-provided labels, represented as a dictionary where each label is a single key value pair. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map userLabels; /** * The activation policy specifies when the instance is activated; it is applicable only when the * instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even * in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, * even if a connection request arrives. * @return value or {@code null} for none */ public java.lang.String getActivationPolicy() { return activationPolicy; } /** * The activation policy specifies when the instance is activated; it is applicable only when the * instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even * in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, * even if a connection request arrives. * @param activationPolicy activationPolicy or {@code null} for none */ public Settings setActivationPolicy(java.lang.String activationPolicy) { this.activationPolicy = activationPolicy; return this; } /** * Active Directory configuration, relevant only for Cloud SQL for SQL Server. * @return value or {@code null} for none */ public SqlActiveDirectoryConfig getActiveDirectoryConfig() { return activeDirectoryConfig; } /** * Active Directory configuration, relevant only for Cloud SQL for SQL Server. * @param activeDirectoryConfig activeDirectoryConfig or {@code null} for none */ public Settings setActiveDirectoryConfig(SqlActiveDirectoryConfig activeDirectoryConfig) { this.activeDirectoryConfig = activeDirectoryConfig; return this; } /** * Specifies advanced machine configuration for the instances relevant only for SQL Server. * @return value or {@code null} for none */ public AdvancedMachineFeatures getAdvancedMachineFeatures() { return advancedMachineFeatures; } /** * Specifies advanced machine configuration for the instances relevant only for SQL Server. * @param advancedMachineFeatures advancedMachineFeatures or {@code null} for none */ public Settings setAdvancedMachineFeatures(AdvancedMachineFeatures advancedMachineFeatures) { this.advancedMachineFeatures = advancedMachineFeatures; return this; } /** * The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation * instances only. * @return value or {@code null} for none */ public java.util.List getAuthorizedGaeApplications() { return authorizedGaeApplications; } /** * The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation * instances only. * @param authorizedGaeApplications authorizedGaeApplications or {@code null} for none */ public Settings setAuthorizedGaeApplications(java.util.List authorizedGaeApplications) { this.authorizedGaeApplications = authorizedGaeApplications; return this; } /** * Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. * Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from * more than one zone in a region (it is highly available)./ For more information, see [Overview * of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high- * availability). * @return value or {@code null} for none */ public java.lang.String getAvailabilityType() { return availabilityType; } /** * Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. * Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from * more than one zone in a region (it is highly available)./ For more information, see [Overview * of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high- * availability). * @param availabilityType availabilityType or {@code null} for none */ public Settings setAvailabilityType(java.lang.String availabilityType) { this.availabilityType = availabilityType; return this; } /** * The daily backup configuration for the instance. * @return value or {@code null} for none */ public BackupConfiguration getBackupConfiguration() { return backupConfiguration; } /** * The daily backup configuration for the instance. * @param backupConfiguration backupConfiguration or {@code null} for none */ public Settings setBackupConfiguration(BackupConfiguration backupConfiguration) { this.backupConfiguration = backupConfiguration; return this; } /** * The name of server Instance collation. * @return value or {@code null} for none */ public java.lang.String getCollation() { return collation; } /** * The name of server Instance collation. * @param collation collation or {@code null} for none */ public Settings setCollation(java.lang.String collation) { this.collation = collation; return this; } /** * Specifies if connections must use Cloud SQL connectors. Option values include the following: * `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and * `REQUIRED` (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED * disables all existing authorized networks. If this field is not specified when creating a new * instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an * existing instance, it is left unchanged in the instance. * @return value or {@code null} for none */ public java.lang.String getConnectorEnforcement() { return connectorEnforcement; } /** * Specifies if connections must use Cloud SQL connectors. Option values include the following: * `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and * `REQUIRED` (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED * disables all existing authorized networks. If this field is not specified when creating a new * instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an * existing instance, it is left unchanged in the instance. * @param connectorEnforcement connectorEnforcement or {@code null} for none */ public Settings setConnectorEnforcement(java.lang.String connectorEnforcement) { this.connectorEnforcement = connectorEnforcement; return this; } /** * Configuration specific to read replica instances. Indicates whether database flags for crash- * safe replication are enabled. This property was only applicable to First Generation instances. * @return value or {@code null} for none */ public java.lang.Boolean getCrashSafeReplicationEnabled() { return crashSafeReplicationEnabled; } /** * Configuration specific to read replica instances. Indicates whether database flags for crash- * safe replication are enabled. This property was only applicable to First Generation instances. * @param crashSafeReplicationEnabled crashSafeReplicationEnabled or {@code null} for none */ public Settings setCrashSafeReplicationEnabled(java.lang.Boolean crashSafeReplicationEnabled) { this.crashSafeReplicationEnabled = crashSafeReplicationEnabled; return this; } /** * Configuration for data cache. * @return value or {@code null} for none */ public DataCacheConfig getDataCacheConfig() { return dataCacheConfig; } /** * Configuration for data cache. * @param dataCacheConfig dataCacheConfig or {@code null} for none */ public Settings setDataCacheConfig(DataCacheConfig dataCacheConfig) { this.dataCacheConfig = dataCacheConfig; return this; } /** * The size of data disk, in GB. The data disk size minimum is 10GB. * @return value or {@code null} for none */ public java.lang.Long getDataDiskSizeGb() { return dataDiskSizeGb; } /** * The size of data disk, in GB. The data disk size minimum is 10GB. * @param dataDiskSizeGb dataDiskSizeGb or {@code null} for none */ public Settings setDataDiskSizeGb(java.lang.Long dataDiskSizeGb) { this.dataDiskSizeGb = dataDiskSizeGb; return this; } /** * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. * @return value or {@code null} for none */ public java.lang.String getDataDiskType() { return dataDiskType; } /** * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. * @param dataDiskType dataDiskType or {@code null} for none */ public Settings setDataDiskType(java.lang.String dataDiskType) { this.dataDiskType = dataDiskType; return this; } /** * The database flags passed to the instance at startup. * @return value or {@code null} for none */ public java.util.List getDatabaseFlags() { return databaseFlags; } /** * The database flags passed to the instance at startup. * @param databaseFlags databaseFlags or {@code null} for none */ public Settings setDatabaseFlags(java.util.List databaseFlags) { this.databaseFlags = databaseFlags; return this; } /** * Configuration specific to read replica instances. Indicates whether replication is enabled or * not. WARNING: Changing this restarts the instance. * @return value or {@code null} for none */ public java.lang.Boolean getDatabaseReplicationEnabled() { return databaseReplicationEnabled; } /** * Configuration specific to read replica instances. Indicates whether replication is enabled or * not. WARNING: Changing this restarts the instance. * @param databaseReplicationEnabled databaseReplicationEnabled or {@code null} for none */ public Settings setDatabaseReplicationEnabled(java.lang.Boolean databaseReplicationEnabled) { this.databaseReplicationEnabled = databaseReplicationEnabled; return this; } /** * Configuration to protect against accidental instance deletion. * @return value or {@code null} for none */ public java.lang.Boolean getDeletionProtectionEnabled() { return deletionProtectionEnabled; } /** * Configuration to protect against accidental instance deletion. * @param deletionProtectionEnabled deletionProtectionEnabled or {@code null} for none */ public Settings setDeletionProtectionEnabled(java.lang.Boolean deletionProtectionEnabled) { this.deletionProtectionEnabled = deletionProtectionEnabled; return this; } /** * Deny maintenance periods * @return value or {@code null} for none */ public java.util.List getDenyMaintenancePeriods() { return denyMaintenancePeriods; } /** * Deny maintenance periods * @param denyMaintenancePeriods denyMaintenancePeriods or {@code null} for none */ public Settings setDenyMaintenancePeriods(java.util.List denyMaintenancePeriods) { this.denyMaintenancePeriods = denyMaintenancePeriods; return this; } /** * Optional. The edition of the instance. * @return value or {@code null} for none */ public java.lang.String getEdition() { return edition; } /** * Optional. The edition of the instance. * @param edition edition or {@code null} for none */ public Settings setEdition(java.lang.String edition) { this.edition = edition; return this; } /** * Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When * this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is * activated. * @return value or {@code null} for none */ public java.lang.Boolean getEnableDataplexIntegration() { return enableDataplexIntegration; } /** * Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When * this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is * activated. * @param enableDataplexIntegration enableDataplexIntegration or {@code null} for none */ public Settings setEnableDataplexIntegration(java.lang.Boolean enableDataplexIntegration) { this.enableDataplexIntegration = enableDataplexIntegration; return this; } /** * Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to * pass requests for real-time predictions and insights to the AI. The default value is false. * This applies only to Cloud SQL for PostgreSQL instances. * @return value or {@code null} for none */ public java.lang.Boolean getEnableGoogleMlIntegration() { return enableGoogleMlIntegration; } /** * Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to * pass requests for real-time predictions and insights to the AI. The default value is false. * This applies only to Cloud SQL for PostgreSQL instances. * @param enableGoogleMlIntegration enableGoogleMlIntegration or {@code null} for none */ public Settings setEnableGoogleMlIntegration(java.lang.Boolean enableGoogleMlIntegration) { this.enableGoogleMlIntegration = enableGoogleMlIntegration; return this; } /** * Insights configuration, for now relevant only for Postgres. * @return value or {@code null} for none */ public InsightsConfig getInsightsConfig() { return insightsConfig; } /** * Insights configuration, for now relevant only for Postgres. * @param insightsConfig insightsConfig or {@code null} for none */ public Settings setInsightsConfig(InsightsConfig insightsConfig) { this.insightsConfig = insightsConfig; return this; } /** * The settings for IP Management. This allows to enable or disable the instance IP and manage * which external networks can connect to the instance. The IPv4 address cannot be disabled for * Second Generation instances. * @return value or {@code null} for none */ public IpConfiguration getIpConfiguration() { return ipConfiguration; } /** * The settings for IP Management. This allows to enable or disable the instance IP and manage * which external networks can connect to the instance. The IPv4 address cannot be disabled for * Second Generation instances. * @param ipConfiguration ipConfiguration or {@code null} for none */ public Settings setIpConfiguration(IpConfiguration ipConfiguration) { this.ipConfiguration = ipConfiguration; return this; } /** * This is always `sql#settings`. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * This is always `sql#settings`. * @param kind kind or {@code null} for none */ public Settings setKind(java.lang.String kind) { this.kind = kind; return this; } /** * The location preference settings. This allows the instance to be located as near as possible to * either an App Engine app or Compute Engine zone for better performance. App Engine co-location * was only applicable to First Generation instances. * @return value or {@code null} for none */ public LocationPreference getLocationPreference() { return locationPreference; } /** * The location preference settings. This allows the instance to be located as near as possible to * either an App Engine app or Compute Engine zone for better performance. App Engine co-location * was only applicable to First Generation instances. * @param locationPreference locationPreference or {@code null} for none */ public Settings setLocationPreference(LocationPreference locationPreference) { this.locationPreference = locationPreference; return this; } /** * The maintenance window for this instance. This specifies when the instance can be restarted for * maintenance purposes. * @return value or {@code null} for none */ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } /** * The maintenance window for this instance. This specifies when the instance can be restarted for * maintenance purposes. * @param maintenanceWindow maintenanceWindow or {@code null} for none */ public Settings setMaintenanceWindow(MaintenanceWindow maintenanceWindow) { this.maintenanceWindow = maintenanceWindow; return this; } /** * The local user password validation policy of the instance. * @return value or {@code null} for none */ public PasswordValidationPolicy getPasswordValidationPolicy() { return passwordValidationPolicy; } /** * The local user password validation policy of the instance. * @param passwordValidationPolicy passwordValidationPolicy or {@code null} for none */ public Settings setPasswordValidationPolicy(PasswordValidationPolicy passwordValidationPolicy) { this.passwordValidationPolicy = passwordValidationPolicy; return this; } /** * The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` * is supported for Second Generation instances. * @return value or {@code null} for none */ public java.lang.String getPricingPlan() { return pricingPlan; } /** * The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` * is supported for Second Generation instances. * @param pricingPlan pricingPlan or {@code null} for none */ public Settings setPricingPlan(java.lang.String pricingPlan) { this.pricingPlan = pricingPlan; return this; } /** * The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. * (Deprecated) This property was only applicable to First Generation instances. * @return value or {@code null} for none */ public java.lang.String getReplicationType() { return replicationType; } /** * The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. * (Deprecated) This property was only applicable to First Generation instances. * @param replicationType replicationType or {@code null} for none */ public Settings setReplicationType(java.lang.String replicationType) { this.replicationType = replicationType; return this; } /** * The version of instance settings. This is a required field for update method to make sure * concurrent updates are handled properly. During update, use the most recent settingsVersion * value for this instance and do not try to update this value. * @return value or {@code null} for none */ public java.lang.Long getSettingsVersion() { return settingsVersion; } /** * The version of instance settings. This is a required field for update method to make sure * concurrent updates are handled properly. During update, use the most recent settingsVersion * value for this instance and do not try to update this value. * @param settingsVersion settingsVersion or {@code null} for none */ public Settings setSettingsVersion(java.lang.Long settingsVersion) { this.settingsVersion = settingsVersion; return this; } /** * SQL Server specific audit configuration. * @return value or {@code null} for none */ public SqlServerAuditConfig getSqlServerAuditConfig() { return sqlServerAuditConfig; } /** * SQL Server specific audit configuration. * @param sqlServerAuditConfig sqlServerAuditConfig or {@code null} for none */ public Settings setSqlServerAuditConfig(SqlServerAuditConfig sqlServerAuditConfig) { this.sqlServerAuditConfig = sqlServerAuditConfig; return this; } /** * Configuration to increase storage size automatically. The default value is true. * @return value or {@code null} for none */ public java.lang.Boolean getStorageAutoResize() { return storageAutoResize; } /** * Configuration to increase storage size automatically. The default value is true. * @param storageAutoResize storageAutoResize or {@code null} for none */ public Settings setStorageAutoResize(java.lang.Boolean storageAutoResize) { this.storageAutoResize = storageAutoResize; return this; } /** * The maximum size to which storage capacity can be automatically increased. The default value is * 0, which specifies that there is no limit. * @return value or {@code null} for none */ public java.lang.Long getStorageAutoResizeLimit() { return storageAutoResizeLimit; } /** * The maximum size to which storage capacity can be automatically increased. The default value is * 0, which specifies that there is no limit. * @param storageAutoResizeLimit storageAutoResizeLimit or {@code null} for none */ public Settings setStorageAutoResizeLimit(java.lang.Long storageAutoResizeLimit) { this.storageAutoResizeLimit = storageAutoResizeLimit; return this; } /** * The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing * this restarts the instance. * @return value or {@code null} for none */ public java.lang.String getTier() { return tier; } /** * The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing * this restarts the instance. * @param tier tier or {@code null} for none */ public Settings setTier(java.lang.String tier) { this.tier = tier; return this; } /** * Server timezone, relevant only for Cloud SQL for SQL Server. * @return value or {@code null} for none */ public java.lang.String getTimeZone() { return timeZone; } /** * Server timezone, relevant only for Cloud SQL for SQL Server. * @param timeZone timeZone or {@code null} for none */ public Settings setTimeZone(java.lang.String timeZone) { this.timeZone = timeZone; return this; } /** * User-provided labels, represented as a dictionary where each label is a single key value pair. * @return value or {@code null} for none */ public java.util.Map getUserLabels() { return userLabels; } /** * User-provided labels, represented as a dictionary where each label is a single key value pair. * @param userLabels userLabels or {@code null} for none */ public Settings setUserLabels(java.util.Map userLabels) { this.userLabels = userLabels; return this; } @Override public Settings set(String fieldName, Object value) { return (Settings) super.set(fieldName, value); } @Override public Settings clone() { return (Settings) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy