com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider Maven / Gradle / Ivy
Show all versions of cdktf-provider-snowflake Show documentation
package com.hashicorp.cdktf.providers.snowflake.provider;
/**
* Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs snowflake}.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-08-03T03:24:50.535Z")
@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.provider.SnowflakeProvider")
public class SnowflakeProvider extends com.hashicorp.cdktf.TerraformProvider {
protected SnowflakeProvider(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected SnowflakeProvider(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
TF_RESOURCE_TYPE = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider.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 snowflake} 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
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public SnowflakeProvider(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderConfig 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"), config });
}
/**
* Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs snowflake} 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.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public SnowflakeProvider(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id) {
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") });
}
/**
* Generates CDKTF code for importing a SnowflakeProvider 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 SnowflakeProvider to import. This parameter is required.
* @param importFromId The id of the existing SnowflakeProvider that should be imported. This parameter is required.
* @param provider ? Optional instance of the provider where the SnowflakeProvider 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.provider.SnowflakeProvider.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 SnowflakeProvider 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 SnowflakeProvider to import. This parameter is required.
* @param importFromId The id of the existing SnowflakeProvider 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.provider.SnowflakeProvider.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 resetAccount() {
software.amazon.jsii.Kernel.call(this, "resetAccount", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetAlias() {
software.amazon.jsii.Kernel.call(this, "resetAlias", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetAuthenticator() {
software.amazon.jsii.Kernel.call(this, "resetAuthenticator", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetBrowserAuth() {
software.amazon.jsii.Kernel.call(this, "resetBrowserAuth", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetClientIp() {
software.amazon.jsii.Kernel.call(this, "resetClientIp", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetClientRequestMfaToken() {
software.amazon.jsii.Kernel.call(this, "resetClientRequestMfaToken", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetClientStoreTemporaryCredential() {
software.amazon.jsii.Kernel.call(this, "resetClientStoreTemporaryCredential", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetClientTimeout() {
software.amazon.jsii.Kernel.call(this, "resetClientTimeout", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetDisableQueryContextCache() {
software.amazon.jsii.Kernel.call(this, "resetDisableQueryContextCache", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetDisableTelemetry() {
software.amazon.jsii.Kernel.call(this, "resetDisableTelemetry", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetExternalBrowserTimeout() {
software.amazon.jsii.Kernel.call(this, "resetExternalBrowserTimeout", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetHost() {
software.amazon.jsii.Kernel.call(this, "resetHost", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetInsecureMode() {
software.amazon.jsii.Kernel.call(this, "resetInsecureMode", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetJwtClientTimeout() {
software.amazon.jsii.Kernel.call(this, "resetJwtClientTimeout", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetJwtExpireTimeout() {
software.amazon.jsii.Kernel.call(this, "resetJwtExpireTimeout", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetKeepSessionAlive() {
software.amazon.jsii.Kernel.call(this, "resetKeepSessionAlive", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetLoginTimeout() {
software.amazon.jsii.Kernel.call(this, "resetLoginTimeout", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOauthAccessToken() {
software.amazon.jsii.Kernel.call(this, "resetOauthAccessToken", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOauthClientId() {
software.amazon.jsii.Kernel.call(this, "resetOauthClientId", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOauthClientSecret() {
software.amazon.jsii.Kernel.call(this, "resetOauthClientSecret", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOauthEndpoint() {
software.amazon.jsii.Kernel.call(this, "resetOauthEndpoint", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOauthRedirectUrl() {
software.amazon.jsii.Kernel.call(this, "resetOauthRedirectUrl", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOauthRefreshToken() {
software.amazon.jsii.Kernel.call(this, "resetOauthRefreshToken", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOcspFailOpen() {
software.amazon.jsii.Kernel.call(this, "resetOcspFailOpen", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetOktaUrl() {
software.amazon.jsii.Kernel.call(this, "resetOktaUrl", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetParams() {
software.amazon.jsii.Kernel.call(this, "resetParams", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPasscode() {
software.amazon.jsii.Kernel.call(this, "resetPasscode", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPasscodeInPassword() {
software.amazon.jsii.Kernel.call(this, "resetPasscodeInPassword", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPassword() {
software.amazon.jsii.Kernel.call(this, "resetPassword", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPort() {
software.amazon.jsii.Kernel.call(this, "resetPort", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPrivateKey() {
software.amazon.jsii.Kernel.call(this, "resetPrivateKey", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPrivateKeyPassphrase() {
software.amazon.jsii.Kernel.call(this, "resetPrivateKeyPassphrase", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetPrivateKeyPath() {
software.amazon.jsii.Kernel.call(this, "resetPrivateKeyPath", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetProfile() {
software.amazon.jsii.Kernel.call(this, "resetProfile", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetProtocol() {
software.amazon.jsii.Kernel.call(this, "resetProtocol", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetRegion() {
software.amazon.jsii.Kernel.call(this, "resetRegion", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetRequestTimeout() {
software.amazon.jsii.Kernel.call(this, "resetRequestTimeout", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetRole() {
software.amazon.jsii.Kernel.call(this, "resetRole", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetSessionParams() {
software.amazon.jsii.Kernel.call(this, "resetSessionParams", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetToken() {
software.amazon.jsii.Kernel.call(this, "resetToken", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetTokenAccessor() {
software.amazon.jsii.Kernel.call(this, "resetTokenAccessor", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetUser() {
software.amazon.jsii.Kernel.call(this, "resetUser", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetUsername() {
software.amazon.jsii.Kernel.call(this, "resetUsername", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetValidateDefaultParameters() {
software.amazon.jsii.Kernel.call(this, "resetValidateDefaultParameters", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void resetWarehouse() {
software.amazon.jsii.Kernel.call(this, "resetWarehouse", 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 getAccountInput() {
return software.amazon.jsii.Kernel.get(this, "accountInput", 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 getAliasInput() {
return software.amazon.jsii.Kernel.get(this, "aliasInput", 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 getAuthenticatorInput() {
return software.amazon.jsii.Kernel.get(this, "authenticatorInput", 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 getBrowserAuthInput() {
return software.amazon.jsii.Kernel.get(this, "browserAuthInput", 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 getClientIpInput() {
return software.amazon.jsii.Kernel.get(this, "clientIpInput", 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 getClientRequestMfaTokenInput() {
return software.amazon.jsii.Kernel.get(this, "clientRequestMfaTokenInput", 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 getClientStoreTemporaryCredentialInput() {
return software.amazon.jsii.Kernel.get(this, "clientStoreTemporaryCredentialInput", 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.Number getClientTimeoutInput() {
return software.amazon.jsii.Kernel.get(this, "clientTimeoutInput", 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.Object getDisableQueryContextCacheInput() {
return software.amazon.jsii.Kernel.get(this, "disableQueryContextCacheInput", 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 getDisableTelemetryInput() {
return software.amazon.jsii.Kernel.get(this, "disableTelemetryInput", 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.Number getExternalBrowserTimeoutInput() {
return software.amazon.jsii.Kernel.get(this, "externalBrowserTimeoutInput", 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 getHostInput() {
return software.amazon.jsii.Kernel.get(this, "hostInput", 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 getInsecureModeInput() {
return software.amazon.jsii.Kernel.get(this, "insecureModeInput", 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.Number getJwtClientTimeoutInput() {
return software.amazon.jsii.Kernel.get(this, "jwtClientTimeoutInput", 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 getJwtExpireTimeoutInput() {
return software.amazon.jsii.Kernel.get(this, "jwtExpireTimeoutInput", 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.Object getKeepSessionAliveInput() {
return software.amazon.jsii.Kernel.get(this, "keepSessionAliveInput", 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.Number getLoginTimeoutInput() {
return software.amazon.jsii.Kernel.get(this, "loginTimeoutInput", 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 getOauthAccessTokenInput() {
return software.amazon.jsii.Kernel.get(this, "oauthAccessTokenInput", 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 getOauthClientIdInput() {
return software.amazon.jsii.Kernel.get(this, "oauthClientIdInput", 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 getOauthClientSecretInput() {
return software.amazon.jsii.Kernel.get(this, "oauthClientSecretInput", 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 getOauthEndpointInput() {
return software.amazon.jsii.Kernel.get(this, "oauthEndpointInput", 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 getOauthRedirectUrlInput() {
return software.amazon.jsii.Kernel.get(this, "oauthRedirectUrlInput", 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 getOauthRefreshTokenInput() {
return software.amazon.jsii.Kernel.get(this, "oauthRefreshTokenInput", 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 getOcspFailOpenInput() {
return software.amazon.jsii.Kernel.get(this, "ocspFailOpenInput", 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 getOktaUrlInput() {
return software.amazon.jsii.Kernel.get(this, "oktaUrlInput", 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.util.Map getParamsInput() {
return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "paramsInput", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getPasscodeInPasswordInput() {
return software.amazon.jsii.Kernel.get(this, "passcodeInPasswordInput", 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 getPasscodeInput() {
return software.amazon.jsii.Kernel.get(this, "passcodeInput", 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 getPasswordInput() {
return software.amazon.jsii.Kernel.get(this, "passwordInput", 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 getPortInput() {
return software.amazon.jsii.Kernel.get(this, "portInput", 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 getPrivateKeyInput() {
return software.amazon.jsii.Kernel.get(this, "privateKeyInput", 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 getPrivateKeyPassphraseInput() {
return software.amazon.jsii.Kernel.get(this, "privateKeyPassphraseInput", 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 getPrivateKeyPathInput() {
return software.amazon.jsii.Kernel.get(this, "privateKeyPathInput", 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 getProfileInput() {
return software.amazon.jsii.Kernel.get(this, "profileInput", 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 getProtocolInput() {
return software.amazon.jsii.Kernel.get(this, "protocolInput", 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 getRegionInput() {
return software.amazon.jsii.Kernel.get(this, "regionInput", 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 getRequestTimeoutInput() {
return software.amazon.jsii.Kernel.get(this, "requestTimeoutInput", 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 getRoleInput() {
return software.amazon.jsii.Kernel.get(this, "roleInput", 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.util.Map getSessionParamsInput() {
return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "sessionParamsInput", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor getTokenAccessorInput() {
return software.amazon.jsii.Kernel.get(this, "tokenAccessorInput", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getTokenInput() {
return software.amazon.jsii.Kernel.get(this, "tokenInput", 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 getUserInput() {
return software.amazon.jsii.Kernel.get(this, "userInput", 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 getUsernameInput() {
return software.amazon.jsii.Kernel.get(this, "usernameInput", 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 getValidateDefaultParametersInput() {
return software.amazon.jsii.Kernel.get(this, "validateDefaultParametersInput", 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 getWarehouseInput() {
return software.amazon.jsii.Kernel.get(this, "warehouseInput", 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 getAccount() {
return software.amazon.jsii.Kernel.get(this, "account", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setAccount(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "account", value);
}
/**
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getAlias() {
return software.amazon.jsii.Kernel.get(this, "alias", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setAlias(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "alias", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getAuthenticator() {
return software.amazon.jsii.Kernel.get(this, "authenticator", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setAuthenticator(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "authenticator", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getBrowserAuth() {
return software.amazon.jsii.Kernel.get(this, "browserAuth", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setBrowserAuth(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "browserAuth", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setBrowserAuth(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "browserAuth", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getClientIp() {
return software.amazon.jsii.Kernel.get(this, "clientIp", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setClientIp(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "clientIp", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getClientRequestMfaToken() {
return software.amazon.jsii.Kernel.get(this, "clientRequestMfaToken", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setClientRequestMfaToken(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "clientRequestMfaToken", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setClientRequestMfaToken(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "clientRequestMfaToken", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getClientStoreTemporaryCredential() {
return software.amazon.jsii.Kernel.get(this, "clientStoreTemporaryCredential", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setClientStoreTemporaryCredential(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "clientStoreTemporaryCredential", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setClientStoreTemporaryCredential(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "clientStoreTemporaryCredential", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getClientTimeout() {
return software.amazon.jsii.Kernel.get(this, "clientTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setClientTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "clientTimeout", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getDisableQueryContextCache() {
return software.amazon.jsii.Kernel.get(this, "disableQueryContextCache", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setDisableQueryContextCache(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "disableQueryContextCache", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setDisableQueryContextCache(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "disableQueryContextCache", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getDisableTelemetry() {
return software.amazon.jsii.Kernel.get(this, "disableTelemetry", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setDisableTelemetry(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "disableTelemetry", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setDisableTelemetry(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "disableTelemetry", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getExternalBrowserTimeout() {
return software.amazon.jsii.Kernel.get(this, "externalBrowserTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setExternalBrowserTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "externalBrowserTimeout", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getHost() {
return software.amazon.jsii.Kernel.get(this, "host", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setHost(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "host", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getInsecureMode() {
return software.amazon.jsii.Kernel.get(this, "insecureMode", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setInsecureMode(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "insecureMode", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setInsecureMode(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "insecureMode", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getJwtClientTimeout() {
return software.amazon.jsii.Kernel.get(this, "jwtClientTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setJwtClientTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "jwtClientTimeout", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getJwtExpireTimeout() {
return software.amazon.jsii.Kernel.get(this, "jwtExpireTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setJwtExpireTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "jwtExpireTimeout", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getKeepSessionAlive() {
return software.amazon.jsii.Kernel.get(this, "keepSessionAlive", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setKeepSessionAlive(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "keepSessionAlive", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setKeepSessionAlive(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "keepSessionAlive", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getLoginTimeout() {
return software.amazon.jsii.Kernel.get(this, "loginTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setLoginTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "loginTimeout", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOauthAccessToken() {
return software.amazon.jsii.Kernel.get(this, "oauthAccessToken", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOauthAccessToken(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oauthAccessToken", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOauthClientId() {
return software.amazon.jsii.Kernel.get(this, "oauthClientId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOauthClientId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oauthClientId", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOauthClientSecret() {
return software.amazon.jsii.Kernel.get(this, "oauthClientSecret", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOauthClientSecret(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oauthClientSecret", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOauthEndpoint() {
return software.amazon.jsii.Kernel.get(this, "oauthEndpoint", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOauthEndpoint(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oauthEndpoint", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOauthRedirectUrl() {
return software.amazon.jsii.Kernel.get(this, "oauthRedirectUrl", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOauthRedirectUrl(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oauthRedirectUrl", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOauthRefreshToken() {
return software.amazon.jsii.Kernel.get(this, "oauthRefreshToken", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOauthRefreshToken(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oauthRefreshToken", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getOcspFailOpen() {
return software.amazon.jsii.Kernel.get(this, "ocspFailOpen", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOcspFailOpen(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "ocspFailOpen", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOcspFailOpen(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "ocspFailOpen", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getOktaUrl() {
return software.amazon.jsii.Kernel.get(this, "oktaUrl", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setOktaUrl(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "oktaUrl", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.util.Map getParams() {
return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "params", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setParams(final @org.jetbrains.annotations.Nullable java.util.Map value) {
software.amazon.jsii.Kernel.set(this, "params", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getPasscode() {
return software.amazon.jsii.Kernel.get(this, "passcode", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPasscode(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "passcode", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getPasscodeInPassword() {
return software.amazon.jsii.Kernel.get(this, "passcodeInPassword", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPasscodeInPassword(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "passcodeInPassword", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPasscodeInPassword(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "passcodeInPassword", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getPassword() {
return software.amazon.jsii.Kernel.get(this, "password", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPassword(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "password", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getPort() {
return software.amazon.jsii.Kernel.get(this, "port", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPort(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "port", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getPrivateKey() {
return software.amazon.jsii.Kernel.get(this, "privateKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPrivateKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "privateKey", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getPrivateKeyPassphrase() {
return software.amazon.jsii.Kernel.get(this, "privateKeyPassphrase", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPrivateKeyPassphrase(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "privateKeyPassphrase", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getPrivateKeyPath() {
return software.amazon.jsii.Kernel.get(this, "privateKeyPath", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setPrivateKeyPath(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "privateKeyPath", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getProfile() {
return software.amazon.jsii.Kernel.get(this, "profile", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setProfile(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "profile", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getProtocol() {
return software.amazon.jsii.Kernel.get(this, "protocol", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setProtocol(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "protocol", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getRegion() {
return software.amazon.jsii.Kernel.get(this, "region", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setRegion(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "region", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Number getRequestTimeout() {
return software.amazon.jsii.Kernel.get(this, "requestTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setRequestTimeout(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "requestTimeout", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getRole() {
return software.amazon.jsii.Kernel.get(this, "role", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setRole(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "role", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.util.Map getSessionParams() {
return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "sessionParams", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setSessionParams(final @org.jetbrains.annotations.Nullable java.util.Map value) {
software.amazon.jsii.Kernel.set(this, "sessionParams", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getToken() {
return software.amazon.jsii.Kernel.get(this, "token", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setToken(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "token", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor getTokenAccessor() {
return software.amazon.jsii.Kernel.get(this, "tokenAccessor", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setTokenAccessor(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor value) {
software.amazon.jsii.Kernel.set(this, "tokenAccessor", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getUser() {
return software.amazon.jsii.Kernel.get(this, "user", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setUser(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "user", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getUsername() {
return software.amazon.jsii.Kernel.get(this, "username", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setUsername(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "username", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.Object getValidateDefaultParameters() {
return software.amazon.jsii.Kernel.get(this, "validateDefaultParameters", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setValidateDefaultParameters(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "validateDefaultParameters", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setValidateDefaultParameters(final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "validateDefaultParameters", value);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.lang.String getWarehouse() {
return software.amazon.jsii.Kernel.get(this, "warehouse", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void setWarehouse(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "warehouse", value);
}
/**
* A fluent builder for {@link com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider}.
*/
@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 com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderConfig.Builder config;
private Builder(final software.constructs.Construct scope, final java.lang.String id) {
this.scope = scope;
this.id = id;
}
/**
* Specifies your Snowflake account identifier assigned, by Snowflake.
*
* For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable. Required unless using `profile`.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#account SnowflakeProvider#account}
*
* @return {@code this}
* @param account Specifies your Snowflake account identifier assigned, by Snowflake. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder account(final java.lang.String account) {
this.config().account(account);
return this;
}
/**
* Alias name.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#alias SnowflakeProvider#alias}
*
* @return {@code this}
* @param alias Alias name. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder alias(final java.lang.String alias) {
this.config().alias(alias);
return this;
}
/**
* Specifies the authentication type to use when connecting to Snowflake. Valid values include: Snowflake, OAuth, ExternalBrowser, Okta, JWT, TokenAccessor, UsernamePasswordMFA. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR
environment variable. It has to be set explicitly to JWT for private key authentication.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#authenticator SnowflakeProvider#authenticator}
*
* @return {@code this}
* @param authenticator Specifies the authentication type to use when connecting to Snowflake. Valid values include: Snowflake, OAuth, ExternalBrowser, Okta, JWT, TokenAccessor, UsernamePasswordMFA. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR
environment variable. It has to be set explicitly to JWT for private key authentication. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder authenticator(final java.lang.String authenticator) {
this.config().authenticator(authenticator);
return this;
}
/**
* Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#browser_auth SnowflakeProvider#browser_auth}
*
* @return {@code this}
* @param browserAuth Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder browserAuth(final java.lang.Boolean browserAuth) {
this.config().browserAuth(browserAuth);
return this;
}
/**
* Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#browser_auth SnowflakeProvider#browser_auth}
*
* @return {@code this}
* @param browserAuth Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder browserAuth(final com.hashicorp.cdktf.IResolvable browserAuth) {
this.config().browserAuth(browserAuth);
return this;
}
/**
* IP address for network checks. Can also be sourced from the SNOWFLAKE_CLIENT_IP
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#client_ip SnowflakeProvider#client_ip}
*
* @return {@code this}
* @param clientIp IP address for network checks. Can also be sourced from the SNOWFLAKE_CLIENT_IP
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder clientIp(final java.lang.String clientIp) {
this.config().clientIp(clientIp);
return this;
}
/**
* When true the MFA token is cached in the credential manager.
*
* True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#client_request_mfa_token SnowflakeProvider#client_request_mfa_token}
*
* @return {@code this}
* @param clientRequestMfaToken When true the MFA token is cached in the credential manager. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder clientRequestMfaToken(final java.lang.Boolean clientRequestMfaToken) {
this.config().clientRequestMfaToken(clientRequestMfaToken);
return this;
}
/**
* When true the MFA token is cached in the credential manager.
*
* True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#client_request_mfa_token SnowflakeProvider#client_request_mfa_token}
*
* @return {@code this}
* @param clientRequestMfaToken When true the MFA token is cached in the credential manager. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder clientRequestMfaToken(final com.hashicorp.cdktf.IResolvable clientRequestMfaToken) {
this.config().clientRequestMfaToken(clientRequestMfaToken);
return this;
}
/**
* When true the ID token is cached in the credential manager.
*
* True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#client_store_temporary_credential SnowflakeProvider#client_store_temporary_credential}
*
* @return {@code this}
* @param clientStoreTemporaryCredential When true the ID token is cached in the credential manager. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder clientStoreTemporaryCredential(final java.lang.Boolean clientStoreTemporaryCredential) {
this.config().clientStoreTemporaryCredential(clientStoreTemporaryCredential);
return this;
}
/**
* When true the ID token is cached in the credential manager.
*
* True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#client_store_temporary_credential SnowflakeProvider#client_store_temporary_credential}
*
* @return {@code this}
* @param clientStoreTemporaryCredential When true the ID token is cached in the credential manager. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder clientStoreTemporaryCredential(final com.hashicorp.cdktf.IResolvable clientStoreTemporaryCredential) {
this.config().clientStoreTemporaryCredential(clientStoreTemporaryCredential);
return this;
}
/**
* The timeout in seconds for the client to complete the authentication.
*
* Default is 900 seconds. Can also be sourced from the `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#client_timeout SnowflakeProvider#client_timeout}
*
* @return {@code this}
* @param clientTimeout The timeout in seconds for the client to complete the authentication. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder clientTimeout(final java.lang.Number clientTimeout) {
this.config().clientTimeout(clientTimeout);
return this;
}
/**
* Should HTAP query context cache be disabled. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#disable_query_context_cache SnowflakeProvider#disable_query_context_cache}
*
* @return {@code this}
* @param disableQueryContextCache Should HTAP query context cache be disabled. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder disableQueryContextCache(final java.lang.Boolean disableQueryContextCache) {
this.config().disableQueryContextCache(disableQueryContextCache);
return this;
}
/**
* Should HTAP query context cache be disabled. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#disable_query_context_cache SnowflakeProvider#disable_query_context_cache}
*
* @return {@code this}
* @param disableQueryContextCache Should HTAP query context cache be disabled. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder disableQueryContextCache(final com.hashicorp.cdktf.IResolvable disableQueryContextCache) {
this.config().disableQueryContextCache(disableQueryContextCache);
return this;
}
/**
* Indicates whether to disable telemetry. Can also be sourced from the SNOWFLAKE_DISABLE_TELEMETRY
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#disable_telemetry SnowflakeProvider#disable_telemetry}
*
* @return {@code this}
* @param disableTelemetry Indicates whether to disable telemetry. Can also be sourced from the SNOWFLAKE_DISABLE_TELEMETRY
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder disableTelemetry(final java.lang.Boolean disableTelemetry) {
this.config().disableTelemetry(disableTelemetry);
return this;
}
/**
* Indicates whether to disable telemetry. Can also be sourced from the SNOWFLAKE_DISABLE_TELEMETRY
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#disable_telemetry SnowflakeProvider#disable_telemetry}
*
* @return {@code this}
* @param disableTelemetry Indicates whether to disable telemetry. Can also be sourced from the SNOWFLAKE_DISABLE_TELEMETRY
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder disableTelemetry(final com.hashicorp.cdktf.IResolvable disableTelemetry) {
this.config().disableTelemetry(disableTelemetry);
return this;
}
/**
* The timeout in seconds for the external browser to complete the authentication.
*
* Default is 120 seconds. Can also be sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#external_browser_timeout SnowflakeProvider#external_browser_timeout}
*
* @return {@code this}
* @param externalBrowserTimeout The timeout in seconds for the external browser to complete the authentication. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder externalBrowserTimeout(final java.lang.Number externalBrowserTimeout) {
this.config().externalBrowserTimeout(externalBrowserTimeout);
return this;
}
/**
* Supports passing in a custom host value to the snowflake go driver for use with privatelink.
*
* Can also be sourced from the `SNOWFLAKE_HOST` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#host SnowflakeProvider#host}
*
* @return {@code this}
* @param host Supports passing in a custom host value to the snowflake go driver for use with privatelink. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder host(final java.lang.String host) {
this.config().host(host);
return this;
}
/**
* If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check.
*
* IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the `SNOWFLAKE_INSECURE_MODE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#insecure_mode SnowflakeProvider#insecure_mode}
*
* @return {@code this}
* @param insecureMode If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder insecureMode(final java.lang.Boolean insecureMode) {
this.config().insecureMode(insecureMode);
return this;
}
/**
* If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check.
*
* IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the `SNOWFLAKE_INSECURE_MODE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#insecure_mode SnowflakeProvider#insecure_mode}
*
* @return {@code this}
* @param insecureMode If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder insecureMode(final com.hashicorp.cdktf.IResolvable insecureMode) {
this.config().insecureMode(insecureMode);
return this;
}
/**
* The timeout in seconds for the JWT client to complete the authentication.
*
* Default is 10 seconds. Can also be sourced from the `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#jwt_client_timeout SnowflakeProvider#jwt_client_timeout}
*
* @return {@code this}
* @param jwtClientTimeout The timeout in seconds for the JWT client to complete the authentication. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder jwtClientTimeout(final java.lang.Number jwtClientTimeout) {
this.config().jwtClientTimeout(jwtClientTimeout);
return this;
}
/**
* JWT expire after timeout in seconds. Can also be sourced from the SNOWFLAKE_JWT_EXPIRE_TIMEOUT
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#jwt_expire_timeout SnowflakeProvider#jwt_expire_timeout}
*
* @return {@code this}
* @param jwtExpireTimeout JWT expire after timeout in seconds. Can also be sourced from the SNOWFLAKE_JWT_EXPIRE_TIMEOUT
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder jwtExpireTimeout(final java.lang.Number jwtExpireTimeout) {
this.config().jwtExpireTimeout(jwtExpireTimeout);
return this;
}
/**
* Enables the session to persist even after the connection is closed.
*
* Can also be sourced from the `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#keep_session_alive SnowflakeProvider#keep_session_alive}
*
* @return {@code this}
* @param keepSessionAlive Enables the session to persist even after the connection is closed. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder keepSessionAlive(final java.lang.Boolean keepSessionAlive) {
this.config().keepSessionAlive(keepSessionAlive);
return this;
}
/**
* Enables the session to persist even after the connection is closed.
*
* Can also be sourced from the `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#keep_session_alive SnowflakeProvider#keep_session_alive}
*
* @return {@code this}
* @param keepSessionAlive Enables the session to persist even after the connection is closed. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder keepSessionAlive(final com.hashicorp.cdktf.IResolvable keepSessionAlive) {
this.config().keepSessionAlive(keepSessionAlive);
return this;
}
/**
* Login retry timeout EXCLUDING network roundtrip and read out http response.
*
* Can also be sourced from the `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#login_timeout SnowflakeProvider#login_timeout}
*
* @return {@code this}
* @param loginTimeout Login retry timeout EXCLUDING network roundtrip and read out http response. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder loginTimeout(final java.lang.Number loginTimeout) {
this.config().loginTimeout(loginTimeout);
return this;
}
/**
* Token for use with OAuth.
*
* Generating the token is left to other tools. Cannot be used with `browser_auth`, `private_key_path`, `oauth_refresh_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#oauth_access_token SnowflakeProvider#oauth_access_token}
*
* @return {@code this}
* @param oauthAccessToken Token for use with OAuth. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oauthAccessToken(final java.lang.String oauthAccessToken) {
this.config().oauthAccessToken(oauthAccessToken);
return this;
}
/**
* Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_ID
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#oauth_client_id SnowflakeProvider#oauth_client_id}
*
* @return {@code this}
* @param oauthClientId Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_ID
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oauthClientId(final java.lang.String oauthClientId) {
this.config().oauthClientId(oauthClientId);
return this;
}
/**
* Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#oauth_client_secret SnowflakeProvider#oauth_client_secret}
*
* @return {@code this}
* @param oauthClientSecret Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oauthClientSecret(final java.lang.String oauthClientSecret) {
this.config().oauthClientSecret(oauthClientSecret);
return this;
}
/**
* Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_ENDPOINT
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#oauth_endpoint SnowflakeProvider#oauth_endpoint}
*
* @return {@code this}
* @param oauthEndpoint Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_ENDPOINT
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oauthEndpoint(final java.lang.String oauthEndpoint) {
this.config().oauthEndpoint(oauthEndpoint);
return this;
}
/**
* Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#oauth_redirect_url SnowflakeProvider#oauth_redirect_url}
*
* @return {@code this}
* @param oauthRedirectUrl Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oauthRedirectUrl(final java.lang.String oauthRedirectUrl) {
this.config().oauthRedirectUrl(oauthRedirectUrl);
return this;
}
/**
* Token for use with OAuth.
*
* Setup and generation of the token is left to other tools. Should be used in conjunction with `oauth_client_id`, `oauth_client_secret`, `oauth_endpoint`, `oauth_redirect_url`. Cannot be used with `browser_auth`, `private_key_path`, `oauth_access_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#oauth_refresh_token SnowflakeProvider#oauth_refresh_token}
*
* @return {@code this}
* @param oauthRefreshToken Token for use with OAuth. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oauthRefreshToken(final java.lang.String oauthRefreshToken) {
this.config().oauthRefreshToken(oauthRefreshToken);
return this;
}
/**
* True represents OCSP fail open mode.
*
* False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#ocsp_fail_open SnowflakeProvider#ocsp_fail_open}
*
* @return {@code this}
* @param ocspFailOpen True represents OCSP fail open mode. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder ocspFailOpen(final java.lang.Boolean ocspFailOpen) {
this.config().ocspFailOpen(ocspFailOpen);
return this;
}
/**
* True represents OCSP fail open mode.
*
* False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#ocsp_fail_open SnowflakeProvider#ocsp_fail_open}
*
* @return {@code this}
* @param ocspFailOpen True represents OCSP fail open mode. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder ocspFailOpen(final com.hashicorp.cdktf.IResolvable ocspFailOpen) {
this.config().ocspFailOpen(ocspFailOpen);
return this;
}
/**
* The URL of the Okta server. e.g. https://example.okta.com. Can also be sourced from the SNOWFLAKE_OKTA_URL
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#okta_url SnowflakeProvider#okta_url}
*
* @return {@code this}
* @param oktaUrl The URL of the Okta server. e.g. https://example.okta.com. Can also be sourced from the SNOWFLAKE_OKTA_URL
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder oktaUrl(final java.lang.String oktaUrl) {
this.config().oktaUrl(oktaUrl);
return this;
}
/**
* Sets other connection (i.e. session) parameters. Parameters.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#params SnowflakeProvider#params}
*
* @return {@code this}
* @param params Sets other connection (i.e. session) parameters. Parameters. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder params(final java.util.Map params) {
this.config().params(params);
return this;
}
/**
* Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login.
*
* Can also be sourced from the `SNOWFLAKE_PASSCODE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#passcode SnowflakeProvider#passcode}
*
* @return {@code this}
* @param passcode Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder passcode(final java.lang.String passcode) {
this.config().passcode(passcode);
return this;
}
/**
* False by default.
*
* Set to true if the MFA passcode is embedded in the login password. Appends the MFA passcode to the end of the password. Can also be sourced from the `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#passcode_in_password SnowflakeProvider#passcode_in_password}
*
* @return {@code this}
* @param passcodeInPassword False by default. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder passcodeInPassword(final java.lang.Boolean passcodeInPassword) {
this.config().passcodeInPassword(passcodeInPassword);
return this;
}
/**
* False by default.
*
* Set to true if the MFA passcode is embedded in the login password. Appends the MFA passcode to the end of the password. Can also be sourced from the `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#passcode_in_password SnowflakeProvider#passcode_in_password}
*
* @return {@code this}
* @param passcodeInPassword False by default. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder passcodeInPassword(final com.hashicorp.cdktf.IResolvable passcodeInPassword) {
this.config().passcodeInPassword(passcodeInPassword);
return this;
}
/**
* Password for username+password auth.
*
* Cannot be used with `browser_auth` or `private_key_path`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#password SnowflakeProvider#password}
*
* @return {@code this}
* @param password Password for username+password auth. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder password(final java.lang.String password) {
this.config().password(password);
return this;
}
/**
* Support custom port values to snowflake go driver for use with privatelink.
*
* Can also be sourced from the `SNOWFLAKE_PORT` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#port SnowflakeProvider#port}
*
* @return {@code this}
* @param port Support custom port values to snowflake go driver for use with privatelink. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder port(final java.lang.Number port) {
this.config().port(port);
return this;
}
/**
* Private Key for username+private-key auth.
*
* Cannot be used with `browser_auth` or `password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#private_key SnowflakeProvider#private_key}
*
* @return {@code this}
* @param privateKey Private Key for username+private-key auth. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder privateKey(final java.lang.String privateKey) {
this.config().privateKey(privateKey);
return this;
}
/**
* Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc.
*
* Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#private_key_passphrase SnowflakeProvider#private_key_passphrase}
*
* @return {@code this}
* @param privateKeyPassphrase Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder privateKeyPassphrase(final java.lang.String privateKeyPassphrase) {
this.config().privateKeyPassphrase(privateKeyPassphrase);
return this;
}
/**
* Path to a private key for using keypair authentication.
*
* Cannot be used with `browser_auth`, `oauth_access_token` or `password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#private_key_path SnowflakeProvider#private_key_path}
*
* @return {@code this}
* @param privateKeyPath Path to a private key for using keypair authentication. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder privateKeyPath(final java.lang.String privateKeyPath) {
this.config().privateKeyPath(privateKeyPath);
return this;
}
/**
* Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the SNOWFLAKE_PROFILE
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#profile SnowflakeProvider#profile}
*
* @return {@code this}
* @param profile Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the SNOWFLAKE_PROFILE
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder profile(final java.lang.String profile) {
this.config().profile(profile);
return this;
}
/**
* Either http or https, defaults to https. Can also be sourced from the SNOWFLAKE_PROTOCOL
environment variable.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#protocol SnowflakeProvider#protocol}
*
* @return {@code this}
* @param protocol Either http or https, defaults to https. Can also be sourced from the SNOWFLAKE_PROTOCOL
environment variable. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder protocol(final java.lang.String protocol) {
this.config().protocol(protocol);
return this;
}
/**
* Snowflake region, such as "eu-central-1", with this parameter.
*
* However, since this parameter is deprecated, it is best to specify the region as part of the account parameter. For details, see the description of the account parameter. [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy format for the `account` identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region) in the form of `.`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#region SnowflakeProvider#region}
*
* @return {@code this}
* @param region Snowflake region, such as "eu-central-1", with this parameter. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder region(final java.lang.String region) {
this.config().region(region);
return this;
}
/**
* request retry timeout EXCLUDING network roundtrip and read out http response.
*
* Can also be sourced from the `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#request_timeout SnowflakeProvider#request_timeout}
*
* @return {@code this}
* @param requestTimeout request retry timeout EXCLUDING network roundtrip and read out http response. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder requestTimeout(final java.lang.Number requestTimeout) {
this.config().requestTimeout(requestTimeout);
return this;
}
/**
* Specifies the role to use by default for accessing Snowflake objects in the client session.
*
* Can also be sourced from the `SNOWFLAKE_ROLE` environment variable. .
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#role SnowflakeProvider#role}
*
* @return {@code this}
* @param role Specifies the role to use by default for accessing Snowflake objects in the client session. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder role(final java.lang.String role) {
this.config().role(role);
return this;
}
/**
* Sets session parameters. Parameters.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#session_params SnowflakeProvider#session_params}
*
* @return {@code this}
* @param sessionParams Sets session parameters. Parameters. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder sessionParams(final java.util.Map sessionParams) {
this.config().sessionParams(sessionParams);
return this;
}
/**
* Token to use for OAuth and other forms of token based auth.
*
* Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#token SnowflakeProvider#token}
*
* @return {@code this}
* @param token Token to use for OAuth and other forms of token based auth. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder token(final java.lang.String token) {
this.config().token(token);
return this;
}
/**
* token_accessor block.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#token_accessor SnowflakeProvider#token_accessor}
*
* @return {@code this}
* @param tokenAccessor token_accessor block. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder tokenAccessor(final com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor tokenAccessor) {
this.config().tokenAccessor(tokenAccessor);
return this;
}
/**
* Username. Can also be sourced from the SNOWFLAKE_USER
environment variable. Required unless using profile
.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#user SnowflakeProvider#user}
*
* @return {@code this}
* @param user Username. Can also be sourced from the SNOWFLAKE_USER
environment variable. Required unless using profile
. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder user(final java.lang.String user) {
this.config().user(user);
return this;
}
/**
* Username for username+password authentication. Can also be sourced from the SNOWFLAKE_USERNAME
environment variable. Required unless using profile
.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#username SnowflakeProvider#username}
*
* @return {@code this}
* @param username Username for username+password authentication. Can also be sourced from the SNOWFLAKE_USERNAME
environment variable. Required unless using profile
. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder username(final java.lang.String username) {
this.config().username(username);
return this;
}
/**
* True by default.
*
* If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#validate_default_parameters SnowflakeProvider#validate_default_parameters}
*
* @return {@code this}
* @param validateDefaultParameters True by default. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder validateDefaultParameters(final java.lang.Boolean validateDefaultParameters) {
this.config().validateDefaultParameters(validateDefaultParameters);
return this;
}
/**
* True by default.
*
* If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#validate_default_parameters SnowflakeProvider#validate_default_parameters}
*
* @return {@code this}
* @param validateDefaultParameters True by default. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder validateDefaultParameters(final com.hashicorp.cdktf.IResolvable validateDefaultParameters) {
this.config().validateDefaultParameters(validateDefaultParameters);
return this;
}
/**
* Specifies the virtual warehouse to use by default for queries, loading, etc.
*
* in the client session. Can also be sourced from the `SNOWFLAKE_WAREHOUSE` environment variable.
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs#warehouse SnowflakeProvider#warehouse}
*
* @return {@code this}
* @param warehouse Specifies the virtual warehouse to use by default for queries, loading, etc. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder warehouse(final java.lang.String warehouse) {
this.config().warehouse(warehouse);
return this;
}
/**
* @return a newly built instance of {@link com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider build() {
return new com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider(
this.scope,
this.id,
this.config != null ? this.config.build() : null
);
}
private com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderConfig.Builder config() {
if (this.config == null) {
this.config = new com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderConfig.Builder();
}
return this.config;
}
}
}