com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase Maven / Gradle / Ivy
Show all versions of cdktf-provider-snowflake Show documentation
package com.hashicorp.cdktf.providers.snowflake.shared_database;
/**
* Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database snowflake_shared_database}.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-08-03T03:24:50.614Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.providers.snowflake.$Module.class, fqn = "@cdktf/provider-snowflake.sharedDatabase.SharedDatabase")
public class SharedDatabase extends com.hashicorp.cdktf.TerraformResource {
protected SharedDatabase(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected SharedDatabase(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
TF_RESOURCE_TYPE = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase.class, "tfResourceType", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database snowflake_shared_database} Resource.
*
* @param scope The scope in which to define this construct. This parameter is required.
* @param id The scoped construct ID. This parameter is required.
* @param config This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public SharedDatabase(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabaseConfig config) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(config, "config is required") });
}
/**
* Generates CDKTF code for importing a SharedDatabase resource upon running "cdktf plan ".
*
* @param scope The scope in which to define this construct. This parameter is required.
* @param importToId The construct id used in the generated config for the SharedDatabase to import. This parameter is required.
* @param importFromId The id of the existing SharedDatabase that should be imported. This parameter is required.
* @param provider ? Optional instance of the provider where the SharedDatabase to import is found.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.ImportableResource generateConfigForImport(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String importToId, final @org.jetbrains.annotations.NotNull java.lang.String importFromId, final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.TerraformProvider provider) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase.class, "generateConfigForImport", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.ImportableResource.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(importToId, "importToId is required"), java.util.Objects.requireNonNull(importFromId, "importFromId is required"), provider });
}
/**
* Generates CDKTF code for importing a SharedDatabase resource upon running "cdktf plan ".
*
* @param scope The scope in which to define this construct. This parameter is required.
* @param importToId The construct id used in the generated config for the SharedDatabase to import. This parameter is required.
* @param importFromId The id of the existing SharedDatabase that should be imported. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.ImportableResource generateConfigForImport(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String importToId, final @org.jetbrains.annotations.NotNull java.lang.String importFromId) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase.class, "generateConfigForImport", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.ImportableResource.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(importToId, "importToId is required"), java.util.Objects.requireNonNull(importFromId, "importFromId is required") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetCatalog() {
software.amazon.jsii.Kernel.call(this, "resetCatalog", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetComment() {
software.amazon.jsii.Kernel.call(this, "resetComment", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetDefaultDdlCollation() {
software.amazon.jsii.Kernel.call(this, "resetDefaultDdlCollation", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetEnableConsoleOutput() {
software.amazon.jsii.Kernel.call(this, "resetEnableConsoleOutput", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetExternalVolume() {
software.amazon.jsii.Kernel.call(this, "resetExternalVolume", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetId() {
software.amazon.jsii.Kernel.call(this, "resetId", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetLogLevel() {
software.amazon.jsii.Kernel.call(this, "resetLogLevel", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetQuotedIdentifiersIgnoreCase() {
software.amazon.jsii.Kernel.call(this, "resetQuotedIdentifiersIgnoreCase", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetReplaceInvalidCharacters() {
software.amazon.jsii.Kernel.call(this, "resetReplaceInvalidCharacters", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetStorageSerializationPolicy() {
software.amazon.jsii.Kernel.call(this, "resetStorageSerializationPolicy", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetSuspendTaskAfterNumFailures() {
software.amazon.jsii.Kernel.call(this, "resetSuspendTaskAfterNumFailures", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetTaskAutoRetryAttempts() {
software.amazon.jsii.Kernel.call(this, "resetTaskAutoRetryAttempts", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetTraceLevel() {
software.amazon.jsii.Kernel.call(this, "resetTraceLevel", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetUserTaskManagedInitialWarehouseSize() {
software.amazon.jsii.Kernel.call(this, "resetUserTaskManagedInitialWarehouseSize", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetUserTaskMinimumTriggerIntervalInSeconds() {
software.amazon.jsii.Kernel.call(this, "resetUserTaskMinimumTriggerIntervalInSeconds", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetUserTaskTimeoutMs() {
software.amazon.jsii.Kernel.call(this, "resetUserTaskTimeoutMs", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map synthesizeAttributes() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "synthesizeAttributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map synthesizeHclAttributes() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "synthesizeHclAttributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final static java.lang.String TF_RESOURCE_TYPE;
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getCatalogInput() {
return software.amazon.jsii.Kernel.get(this, "catalogInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getCommentInput() {
return software.amazon.jsii.Kernel.get(this, "commentInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getDefaultDdlCollationInput() {
return software.amazon.jsii.Kernel.get(this, "defaultDdlCollationInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getEnableConsoleOutputInput() {
return software.amazon.jsii.Kernel.get(this, "enableConsoleOutputInput", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getExternalVolumeInput() {
return software.amazon.jsii.Kernel.get(this, "externalVolumeInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getFromShareInput() {
return software.amazon.jsii.Kernel.get(this, "fromShareInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getIdInput() {
return software.amazon.jsii.Kernel.get(this, "idInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getLogLevelInput() {
return software.amazon.jsii.Kernel.get(this, "logLevelInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getNameInput() {
return software.amazon.jsii.Kernel.get(this, "nameInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getQuotedIdentifiersIgnoreCaseInput() {
return software.amazon.jsii.Kernel.get(this, "quotedIdentifiersIgnoreCaseInput", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getReplaceInvalidCharactersInput() {
return software.amazon.jsii.Kernel.get(this, "replaceInvalidCharactersInput", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getStorageSerializationPolicyInput() {
return software.amazon.jsii.Kernel.get(this, "storageSerializationPolicyInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getSuspendTaskAfterNumFailuresInput() {
return software.amazon.jsii.Kernel.get(this, "suspendTaskAfterNumFailuresInput", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getTaskAutoRetryAttemptsInput() {
return software.amazon.jsii.Kernel.get(this, "taskAutoRetryAttemptsInput", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getTraceLevelInput() {
return software.amazon.jsii.Kernel.get(this, "traceLevelInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getUserTaskManagedInitialWarehouseSizeInput() {
return software.amazon.jsii.Kernel.get(this, "userTaskManagedInitialWarehouseSizeInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getUserTaskMinimumTriggerIntervalInSecondsInput() {
return software.amazon.jsii.Kernel.get(this, "userTaskMinimumTriggerIntervalInSecondsInput", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getUserTaskTimeoutMsInput() {
return software.amazon.jsii.Kernel.get(this, "userTaskTimeoutMsInput", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getCatalog() {
return software.amazon.jsii.Kernel.get(this, "catalog", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setCatalog(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "catalog", java.util.Objects.requireNonNull(value, "catalog is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getComment() {
return software.amazon.jsii.Kernel.get(this, "comment", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setComment(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "comment", java.util.Objects.requireNonNull(value, "comment is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getDefaultDdlCollation() {
return software.amazon.jsii.Kernel.get(this, "defaultDdlCollation", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setDefaultDdlCollation(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "defaultDdlCollation", java.util.Objects.requireNonNull(value, "defaultDdlCollation is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Object getEnableConsoleOutput() {
return software.amazon.jsii.Kernel.get(this, "enableConsoleOutput", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setEnableConsoleOutput(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "enableConsoleOutput", java.util.Objects.requireNonNull(value, "enableConsoleOutput is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setEnableConsoleOutput(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "enableConsoleOutput", java.util.Objects.requireNonNull(value, "enableConsoleOutput is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getExternalVolume() {
return software.amazon.jsii.Kernel.get(this, "externalVolume", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setExternalVolume(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "externalVolume", java.util.Objects.requireNonNull(value, "externalVolume is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getFromShare() {
return software.amazon.jsii.Kernel.get(this, "fromShare", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setFromShare(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "fromShare", java.util.Objects.requireNonNull(value, "fromShare is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getId() {
return software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setId(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "id", java.util.Objects.requireNonNull(value, "id is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getLogLevel() {
return software.amazon.jsii.Kernel.get(this, "logLevel", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setLogLevel(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "logLevel", java.util.Objects.requireNonNull(value, "logLevel is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getName() {
return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setName(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "name", java.util.Objects.requireNonNull(value, "name is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Object getQuotedIdentifiersIgnoreCase() {
return software.amazon.jsii.Kernel.get(this, "quotedIdentifiersIgnoreCase", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setQuotedIdentifiersIgnoreCase(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "quotedIdentifiersIgnoreCase", java.util.Objects.requireNonNull(value, "quotedIdentifiersIgnoreCase is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setQuotedIdentifiersIgnoreCase(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "quotedIdentifiersIgnoreCase", java.util.Objects.requireNonNull(value, "quotedIdentifiersIgnoreCase is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Object getReplaceInvalidCharacters() {
return software.amazon.jsii.Kernel.get(this, "replaceInvalidCharacters", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setReplaceInvalidCharacters(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "replaceInvalidCharacters", java.util.Objects.requireNonNull(value, "replaceInvalidCharacters is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setReplaceInvalidCharacters(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "replaceInvalidCharacters", java.util.Objects.requireNonNull(value, "replaceInvalidCharacters is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getStorageSerializationPolicy() {
return software.amazon.jsii.Kernel.get(this, "storageSerializationPolicy", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setStorageSerializationPolicy(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "storageSerializationPolicy", java.util.Objects.requireNonNull(value, "storageSerializationPolicy is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Number getSuspendTaskAfterNumFailures() {
return software.amazon.jsii.Kernel.get(this, "suspendTaskAfterNumFailures", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setSuspendTaskAfterNumFailures(final @org.jetbrains.annotations.NotNull java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "suspendTaskAfterNumFailures", java.util.Objects.requireNonNull(value, "suspendTaskAfterNumFailures is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Number getTaskAutoRetryAttempts() {
return software.amazon.jsii.Kernel.get(this, "taskAutoRetryAttempts", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setTaskAutoRetryAttempts(final @org.jetbrains.annotations.NotNull java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "taskAutoRetryAttempts", java.util.Objects.requireNonNull(value, "taskAutoRetryAttempts is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getTraceLevel() {
return software.amazon.jsii.Kernel.get(this, "traceLevel", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setTraceLevel(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "traceLevel", java.util.Objects.requireNonNull(value, "traceLevel is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getUserTaskManagedInitialWarehouseSize() {
return software.amazon.jsii.Kernel.get(this, "userTaskManagedInitialWarehouseSize", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setUserTaskManagedInitialWarehouseSize(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "userTaskManagedInitialWarehouseSize", java.util.Objects.requireNonNull(value, "userTaskManagedInitialWarehouseSize is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Number getUserTaskMinimumTriggerIntervalInSeconds() {
return software.amazon.jsii.Kernel.get(this, "userTaskMinimumTriggerIntervalInSeconds", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setUserTaskMinimumTriggerIntervalInSeconds(final @org.jetbrains.annotations.NotNull java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "userTaskMinimumTriggerIntervalInSeconds", java.util.Objects.requireNonNull(value, "userTaskMinimumTriggerIntervalInSeconds is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Number getUserTaskTimeoutMs() {
return software.amazon.jsii.Kernel.get(this, "userTaskTimeoutMs", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setUserTaskTimeoutMs(final @org.jetbrains.annotations.NotNull java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "userTaskTimeoutMs", java.util.Objects.requireNonNull(value, "userTaskTimeoutMs is required"));
}
/**
* A fluent builder for {@link com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope The scope in which to define this construct. This parameter is required.
* @param id The scoped construct ID. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static Builder create(final software.constructs.Construct scope, final java.lang.String id) {
return new Builder(scope, id);
}
private final software.constructs.Construct scope;
private final java.lang.String id;
private final com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabaseConfig.Builder config;
private Builder(final software.constructs.Construct scope, final java.lang.String id) {
this.scope = scope;
this.id = id;
this.config = new com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabaseConfig.Builder();
}
/**
* @return {@code this}
* @param connection This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder connection(final com.hashicorp.cdktf.SSHProvisionerConnection connection) {
this.config.connection(connection);
return this;
}
/**
* @return {@code this}
* @param connection This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder connection(final com.hashicorp.cdktf.WinrmProvisionerConnection connection) {
this.config.connection(connection);
return this;
}
/**
* @return {@code this}
* @param count This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder count(final java.lang.Number count) {
this.config.count(count);
return this;
}
/**
* @return {@code this}
* @param count This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder count(final com.hashicorp.cdktf.TerraformCount count) {
this.config.count(count);
return this;
}
/**
* @return {@code this}
* @param dependsOn This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder dependsOn(final java.util.List dependsOn) {
this.config.dependsOn(dependsOn);
return this;
}
/**
* @return {@code this}
* @param forEach This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder forEach(final com.hashicorp.cdktf.ITerraformIterator forEach) {
this.config.forEach(forEach);
return this;
}
/**
* @return {@code this}
* @param lifecycle This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder lifecycle(final com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle) {
this.config.lifecycle(lifecycle);
return this;
}
/**
* @return {@code this}
* @param provider This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder provider(final com.hashicorp.cdktf.TerraformProvider provider) {
this.config.provider(provider);
return this;
}
/**
* @return {@code this}
* @param provisioners This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder provisioners(final java.util.List provisioners) {
this.config.provisioners(provisioners);
return this;
}
/**
* A fully qualified path to a share from which the database will be created.
*
* A fully qualified path follows the format of `""."".""`.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#from_share SharedDatabase#from_share}
*
* @return {@code this}
* @param fromShare A fully qualified path to a share from which the database will be created. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder fromShare(final java.lang.String fromShare) {
this.config.fromShare(fromShare);
return this;
}
/**
* Specifies the identifier for the database; must be unique for your account.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#name SharedDatabase#name}
*
* @return {@code this}
* @param name Specifies the identifier for the database; must be unique for your account. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder name(final java.lang.String name) {
this.config.name(name);
return this;
}
/**
* The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#catalog SharedDatabase#catalog}
*
* @return {@code this}
* @param catalog The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder catalog(final java.lang.String catalog) {
this.config.catalog(catalog);
return this;
}
/**
* Specifies a comment for the database.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#comment SharedDatabase#comment}
*
* @return {@code this}
* @param comment Specifies a comment for the database. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder comment(final java.lang.String comment) {
this.config.comment(comment);
return this;
}
/**
* Specifies a default collation specification for all schemas and tables added to the database.
*
* It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#default_ddl_collation SharedDatabase#default_ddl_collation}
*
* @return {@code this}
* @param defaultDdlCollation Specifies a default collation specification for all schemas and tables added to the database. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder defaultDdlCollation(final java.lang.String defaultDdlCollation) {
this.config.defaultDdlCollation(defaultDdlCollation);
return this;
}
/**
* If true, enables stdout/stderr fast path logging for anonymous stored procedures.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#enable_console_output SharedDatabase#enable_console_output}
*
* @return {@code this}
* @param enableConsoleOutput If true, enables stdout/stderr fast path logging for anonymous stored procedures. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder enableConsoleOutput(final java.lang.Boolean enableConsoleOutput) {
this.config.enableConsoleOutput(enableConsoleOutput);
return this;
}
/**
* If true, enables stdout/stderr fast path logging for anonymous stored procedures.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#enable_console_output SharedDatabase#enable_console_output}
*
* @return {@code this}
* @param enableConsoleOutput If true, enables stdout/stderr fast path logging for anonymous stored procedures. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder enableConsoleOutput(final com.hashicorp.cdktf.IResolvable enableConsoleOutput) {
this.config.enableConsoleOutput(enableConsoleOutput);
return this;
}
/**
* The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#external_volume SharedDatabase#external_volume}
*
* @return {@code this}
* @param externalVolume The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder externalVolume(final java.lang.String externalVolume) {
this.config.externalVolume(externalVolume);
return this;
}
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#id SharedDatabase#id}.
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*
* @return {@code this}
* @param id Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#id SharedDatabase#id}. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder id(final java.lang.String id) {
this.config.id(id);
return this;
}
/**
* Specifies the severity level of messages that should be ingested and made available in the active event table.
*
* Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#log_level SharedDatabase#log_level}
*
* @return {@code this}
* @param logLevel Specifies the severity level of messages that should be ingested and made available in the active event table. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder logLevel(final java.lang.String logLevel) {
this.config.logLevel(logLevel);
return this;
}
/**
* If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#quoted_identifiers_ignore_case SharedDatabase#quoted_identifiers_ignore_case}
*
* @return {@code this}
* @param quotedIdentifiersIgnoreCase If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder quotedIdentifiersIgnoreCase(final java.lang.Boolean quotedIdentifiersIgnoreCase) {
this.config.quotedIdentifiersIgnoreCase(quotedIdentifiersIgnoreCase);
return this;
}
/**
* If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#quoted_identifiers_ignore_case SharedDatabase#quoted_identifiers_ignore_case}
*
* @return {@code this}
* @param quotedIdentifiersIgnoreCase If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder quotedIdentifiersIgnoreCase(final com.hashicorp.cdktf.IResolvable quotedIdentifiersIgnoreCase) {
this.config.quotedIdentifiersIgnoreCase(quotedIdentifiersIgnoreCase);
return this;
}
/**
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table.
*
* You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE_INVALID_CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#replace_invalid_characters SharedDatabase#replace_invalid_characters}
*
* @return {@code this}
* @param replaceInvalidCharacters Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder replaceInvalidCharacters(final java.lang.Boolean replaceInvalidCharacters) {
this.config.replaceInvalidCharacters(replaceInvalidCharacters);
return this;
}
/**
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table.
*
* You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE_INVALID_CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#replace_invalid_characters SharedDatabase#replace_invalid_characters}
*
* @return {@code this}
* @param replaceInvalidCharacters Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder replaceInvalidCharacters(final com.hashicorp.cdktf.IResolvable replaceInvalidCharacters) {
this.config.replaceInvalidCharacters(replaceInvalidCharacters);
return this;
}
/**
* The storage serialization policy for Iceberg tables that use Snowflake as the catalog.
*
* Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE_SERIALIZATION_POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#storage_serialization_policy SharedDatabase#storage_serialization_policy}
*
* @return {@code this}
* @param storageSerializationPolicy The storage serialization policy for Iceberg tables that use Snowflake as the catalog. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder storageSerializationPolicy(final java.lang.String storageSerializationPolicy) {
this.config.storageSerializationPolicy(storageSerializationPolicy);
return this;
}
/**
* How many times a task must fail in a row before it is automatically suspended.
*
* 0 disables auto-suspending. For more information, see [SUSPEND_TASK_AFTER_NUM_FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#suspend_task_after_num_failures SharedDatabase#suspend_task_after_num_failures}
*
* @return {@code this}
* @param suspendTaskAfterNumFailures How many times a task must fail in a row before it is automatically suspended. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder suspendTaskAfterNumFailures(final java.lang.Number suspendTaskAfterNumFailures) {
this.config.suspendTaskAfterNumFailures(suspendTaskAfterNumFailures);
return this;
}
/**
* Maximum automatic retries allowed for a user task. For more information, see TASK_AUTO_RETRY_ATTEMPTS.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#task_auto_retry_attempts SharedDatabase#task_auto_retry_attempts}
*
* @return {@code this}
* @param taskAutoRetryAttempts Maximum automatic retries allowed for a user task. For more information, see TASK_AUTO_RETRY_ATTEMPTS. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder taskAutoRetryAttempts(final java.lang.Number taskAutoRetryAttempts) {
this.config.taskAutoRetryAttempts(taskAutoRetryAttempts);
return this;
}
/**
* Controls how trace events are ingested into the event table.
*
* Valid options are: [ALWAYS ON_EVENT OFF]. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#trace_level SharedDatabase#trace_level}
*
* @return {@code this}
* @param traceLevel Controls how trace events are ingested into the event table. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder traceLevel(final java.lang.String traceLevel) {
this.config.traceLevel(traceLevel);
return this;
}
/**
* The initial size of warehouse to use for managed warehouses in the absence of history.
*
* For more information, see [USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#user_task_managed_initial_warehouse_size SharedDatabase#user_task_managed_initial_warehouse_size}
*
* @return {@code this}
* @param userTaskManagedInitialWarehouseSize The initial size of warehouse to use for managed warehouses in the absence of history. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder userTaskManagedInitialWarehouseSize(final java.lang.String userTaskManagedInitialWarehouseSize) {
this.config.userTaskManagedInitialWarehouseSize(userTaskManagedInitialWarehouseSize);
return this;
}
/**
* Minimum amount of time between Triggered Task executions in seconds.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#user_task_minimum_trigger_interval_in_seconds SharedDatabase#user_task_minimum_trigger_interval_in_seconds}
*
* @return {@code this}
* @param userTaskMinimumTriggerIntervalInSeconds Minimum amount of time between Triggered Task executions in seconds. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder userTaskMinimumTriggerIntervalInSeconds(final java.lang.Number userTaskMinimumTriggerIntervalInSeconds) {
this.config.userTaskMinimumTriggerIntervalInSeconds(userTaskMinimumTriggerIntervalInSeconds);
return this;
}
/**
* User task execution timeout in milliseconds. For more information, see USER_TASK_TIMEOUT_MS.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/shared_database#user_task_timeout_ms SharedDatabase#user_task_timeout_ms}
*
* @return {@code this}
* @param userTaskTimeoutMs User task execution timeout in milliseconds. For more information, see USER_TASK_TIMEOUT_MS. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder userTaskTimeoutMs(final java.lang.Number userTaskTimeoutMs) {
this.config.userTaskTimeoutMs(userTaskTimeoutMs);
return this;
}
/**
* @return a newly built instance of {@link com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase build() {
return new com.hashicorp.cdktf.providers.snowflake.shared_database.SharedDatabase(
this.scope,
this.id,
this.config.build()
);
}
}
}