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

com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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 FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration {
    /**
     * @return Enables or disables the Secrets Manager configuration.
     * 
     */
    private @Nullable Boolean enabled;
    /**
     * @return The ARN of the role the stream assumes.
     * 
     */
    private @Nullable String roleArn;
    /**
     * @return The ARN of the Secrets Manager secret. This value is required if `enabled` is true.
     * 
     */
    private @Nullable String secretArn;

    private FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration() {}
    /**
     * @return Enables or disables the Secrets Manager configuration.
     * 
     */
    public Optional enabled() {
        return Optional.ofNullable(this.enabled);
    }
    /**
     * @return The ARN of the role the stream assumes.
     * 
     */
    public Optional roleArn() {
        return Optional.ofNullable(this.roleArn);
    }
    /**
     * @return The ARN of the Secrets Manager secret. This value is required if `enabled` is true.
     * 
     */
    public Optional secretArn() {
        return Optional.ofNullable(this.secretArn);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enabled;
        private @Nullable String roleArn;
        private @Nullable String secretArn;
        public Builder() {}
        public Builder(FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enabled = defaults.enabled;
    	      this.roleArn = defaults.roleArn;
    	      this.secretArn = defaults.secretArn;
        }

        @CustomType.Setter
        public Builder enabled(@Nullable Boolean enabled) {

            this.enabled = enabled;
            return this;
        }
        @CustomType.Setter
        public Builder roleArn(@Nullable String roleArn) {

            this.roleArn = roleArn;
            return this;
        }
        @CustomType.Setter
        public Builder secretArn(@Nullable String secretArn) {

            this.secretArn = secretArn;
            return this;
        }
        public FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration build() {
            final var _resultValue = new FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration();
            _resultValue.enabled = enabled;
            _resultValue.roleArn = roleArn;
            _resultValue.secretArn = secretArn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy