com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationOutputReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdktf-provider-snowflake Show documentation
Show all versions of cdktf-provider-snowflake Show documentation
Prebuilt snowflake Provider for Terraform CDK (cdktf)
The newest version!
package com.hashicorp.cdktf.providers.snowflake.database;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-08-03T03:24:50.316Z")
@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.database.DatabaseReplicationOutputReference")
public class DatabaseReplicationOutputReference extends com.hashicorp.cdktf.ComplexObject {
protected DatabaseReplicationOutputReference(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DatabaseReplicationOutputReference(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param terraformResource The parent resource. This parameter is required.
* @param terraformAttribute The attribute on the parent resource this class is referencing. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public DatabaseReplicationOutputReference(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IInterpolatingParent terraformResource, final @org.jetbrains.annotations.NotNull java.lang.String terraformAttribute) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(terraformResource, "terraformResource is required"), java.util.Objects.requireNonNull(terraformAttribute, "terraformAttribute is required") });
}
/**
* @param value This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void putEnableToAccount(final @org.jetbrains.annotations.NotNull java.lang.Object value) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(value instanceof com.hashicorp.cdktf.IResolvable)
&& !(value instanceof java.util.List)
&& !(value.getClass().equals(software.amazon.jsii.JsiiObject.class))
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("value")
.append(" to be one of: com.hashicorp.cdktf.IResolvable, java.util.List; received ")
.append(value.getClass()).toString());
}
if (value instanceof java.util.List) {
@SuppressWarnings("unchecked")
final java.util.List __cast_cd4240 = (java.util.List)value;
for (int __idx_ac66f0 = 0; __idx_ac66f0 < __cast_cd4240.size(); __idx_ac66f0++) {
final com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationEnableToAccount __val_ac66f0 = __cast_cd4240.get(__idx_ac66f0);
}
}
}
software.amazon.jsii.Kernel.call(this, "putEnableToAccount", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetIgnoreEditionCheck() {
software.amazon.jsii.Kernel.call(this, "resetIgnoreEditionCheck", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationEnableToAccountList getEnableToAccount() {
return software.amazon.jsii.Kernel.get(this, "enableToAccount", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationEnableToAccountList.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getEnableToAccountInput() {
return software.amazon.jsii.Kernel.get(this, "enableToAccountInput", 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 getIgnoreEditionCheckInput() {
return software.amazon.jsii.Kernel.get(this, "ignoreEditionCheckInput", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.Object getIgnoreEditionCheck() {
return software.amazon.jsii.Kernel.get(this, "ignoreEditionCheck", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setIgnoreEditionCheck(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "ignoreEditionCheck", java.util.Objects.requireNonNull(value, "ignoreEditionCheck is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setIgnoreEditionCheck(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "ignoreEditionCheck", java.util.Objects.requireNonNull(value, "ignoreEditionCheck is required"));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplication getInternalValue() {
return software.amazon.jsii.Kernel.get(this, "internalValue", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplication.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setInternalValue(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplication value) {
software.amazon.jsii.Kernel.set(this, "internalValue", value);
}
}