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

com.pulumi.aws.dms.inputs.EndpointRedshiftSettingsArgs 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.dms.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EndpointRedshiftSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final EndpointRedshiftSettingsArgs Empty = new EndpointRedshiftSettingsArgs();

    /**
     * Custom S3 Bucket Object prefix for intermediate storage.
     * 
     */
    @Import(name="bucketFolder")
    private @Nullable Output bucketFolder;

    /**
     * @return Custom S3 Bucket Object prefix for intermediate storage.
     * 
     */
    public Optional> bucketFolder() {
        return Optional.ofNullable(this.bucketFolder);
    }

    /**
     * Custom S3 Bucket name for intermediate storage.
     * 
     */
    @Import(name="bucketName")
    private @Nullable Output bucketName;

    /**
     * @return Custom S3 Bucket name for intermediate storage.
     * 
     */
    public Optional> bucketName() {
        return Optional.ofNullable(this.bucketName);
    }

    /**
     * The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
     * 
     */
    @Import(name="encryptionMode")
    private @Nullable Output encryptionMode;

    /**
     * @return The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
     * 
     */
    public Optional> encryptionMode() {
        return Optional.ofNullable(this.encryptionMode);
    }

    /**
     * ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
     * 
     */
    @Import(name="serverSideEncryptionKmsKeyId")
    private @Nullable Output serverSideEncryptionKmsKeyId;

    /**
     * @return ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
     * 
     */
    public Optional> serverSideEncryptionKmsKeyId() {
        return Optional.ofNullable(this.serverSideEncryptionKmsKeyId);
    }

    /**
     * Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
     * 
     */
    @Import(name="serviceAccessRoleArn")
    private @Nullable Output serviceAccessRoleArn;

    /**
     * @return Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
     * 
     */
    public Optional> serviceAccessRoleArn() {
        return Optional.ofNullable(this.serviceAccessRoleArn);
    }

    private EndpointRedshiftSettingsArgs() {}

    private EndpointRedshiftSettingsArgs(EndpointRedshiftSettingsArgs $) {
        this.bucketFolder = $.bucketFolder;
        this.bucketName = $.bucketName;
        this.encryptionMode = $.encryptionMode;
        this.serverSideEncryptionKmsKeyId = $.serverSideEncryptionKmsKeyId;
        this.serviceAccessRoleArn = $.serviceAccessRoleArn;
    }

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

    public static final class Builder {
        private EndpointRedshiftSettingsArgs $;

        public Builder() {
            $ = new EndpointRedshiftSettingsArgs();
        }

        public Builder(EndpointRedshiftSettingsArgs defaults) {
            $ = new EndpointRedshiftSettingsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param bucketFolder Custom S3 Bucket Object prefix for intermediate storage.
         * 
         * @return builder
         * 
         */
        public Builder bucketFolder(@Nullable Output bucketFolder) {
            $.bucketFolder = bucketFolder;
            return this;
        }

        /**
         * @param bucketFolder Custom S3 Bucket Object prefix for intermediate storage.
         * 
         * @return builder
         * 
         */
        public Builder bucketFolder(String bucketFolder) {
            return bucketFolder(Output.of(bucketFolder));
        }

        /**
         * @param bucketName Custom S3 Bucket name for intermediate storage.
         * 
         * @return builder
         * 
         */
        public Builder bucketName(@Nullable Output bucketName) {
            $.bucketName = bucketName;
            return this;
        }

        /**
         * @param bucketName Custom S3 Bucket name for intermediate storage.
         * 
         * @return builder
         * 
         */
        public Builder bucketName(String bucketName) {
            return bucketName(Output.of(bucketName));
        }

        /**
         * @param encryptionMode The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
         * 
         * @return builder
         * 
         */
        public Builder encryptionMode(@Nullable Output encryptionMode) {
            $.encryptionMode = encryptionMode;
            return this;
        }

        /**
         * @param encryptionMode The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
         * 
         * @return builder
         * 
         */
        public Builder encryptionMode(String encryptionMode) {
            return encryptionMode(Output.of(encryptionMode));
        }

        /**
         * @param serverSideEncryptionKmsKeyId ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
         * 
         * @return builder
         * 
         */
        public Builder serverSideEncryptionKmsKeyId(@Nullable Output serverSideEncryptionKmsKeyId) {
            $.serverSideEncryptionKmsKeyId = serverSideEncryptionKmsKeyId;
            return this;
        }

        /**
         * @param serverSideEncryptionKmsKeyId ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
         * 
         * @return builder
         * 
         */
        public Builder serverSideEncryptionKmsKeyId(String serverSideEncryptionKmsKeyId) {
            return serverSideEncryptionKmsKeyId(Output.of(serverSideEncryptionKmsKeyId));
        }

        /**
         * @param serviceAccessRoleArn Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
         * 
         * @return builder
         * 
         */
        public Builder serviceAccessRoleArn(@Nullable Output serviceAccessRoleArn) {
            $.serviceAccessRoleArn = serviceAccessRoleArn;
            return this;
        }

        /**
         * @param serviceAccessRoleArn Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
         * 
         * @return builder
         * 
         */
        public Builder serviceAccessRoleArn(String serviceAccessRoleArn) {
            return serviceAccessRoleArn(Output.of(serviceAccessRoleArn));
        }

        public EndpointRedshiftSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy