com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.kinesis.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration {
/**
* @return Whether the Snowflake role is enabled.
*
*/
private @Nullable Boolean enabled;
/**
* @return The Snowflake role.
*
*/
private @Nullable String snowflakeRole;
private FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration() {}
/**
* @return Whether the Snowflake role is enabled.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return The Snowflake role.
*
*/
public Optional snowflakeRole() {
return Optional.ofNullable(this.snowflakeRole);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable String snowflakeRole;
public Builder() {}
public Builder(FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.snowflakeRole = defaults.snowflakeRole;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder snowflakeRole(@Nullable String snowflakeRole) {
this.snowflakeRole = snowflakeRole;
return this;
}
public FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration build() {
final var _resultValue = new FirehoseDeliveryStreamSnowflakeConfigurationSnowflakeRoleConfiguration();
_resultValue.enabled = enabled;
_resultValue.snowflakeRole = snowflakeRole;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy