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

com.pulumi.aws.athena.inputs.WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs 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.athena.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 WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs Empty = new WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs();

    /**
     * Whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
     * 
     */
    @Import(name="encryptionOption")
    private @Nullable Output encryptionOption;

    /**
     * @return Whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
     * 
     */
    public Optional> encryptionOption() {
        return Optional.ofNullable(this.encryptionOption);
    }

    /**
     * For `SSE_KMS` and `CSE_KMS`, this is the KMS key ARN.
     * 
     */
    @Import(name="kmsKeyArn")
    private @Nullable Output kmsKeyArn;

    /**
     * @return For `SSE_KMS` and `CSE_KMS`, this is the KMS key ARN.
     * 
     */
    public Optional> kmsKeyArn() {
        return Optional.ofNullable(this.kmsKeyArn);
    }

    private WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs() {}

    private WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs(WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs $) {
        this.encryptionOption = $.encryptionOption;
        this.kmsKeyArn = $.kmsKeyArn;
    }

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

    public static final class Builder {
        private WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs $;

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

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

        /**
         * @param encryptionOption Whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
         * 
         * @return builder
         * 
         */
        public Builder encryptionOption(@Nullable Output encryptionOption) {
            $.encryptionOption = encryptionOption;
            return this;
        }

        /**
         * @param encryptionOption Whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
         * 
         * @return builder
         * 
         */
        public Builder encryptionOption(String encryptionOption) {
            return encryptionOption(Output.of(encryptionOption));
        }

        /**
         * @param kmsKeyArn For `SSE_KMS` and `CSE_KMS`, this is the KMS key ARN.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyArn(@Nullable Output kmsKeyArn) {
            $.kmsKeyArn = kmsKeyArn;
            return this;
        }

        /**
         * @param kmsKeyArn For `SSE_KMS` and `CSE_KMS`, this is the KMS key ARN.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyArn(String kmsKeyArn) {
            return kmsKeyArn(Output.of(kmsKeyArn));
        }

        public WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy