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

com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs 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.connect.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs Empty = new InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs();

    /**
     * The type of encryption. Valid Values: `KMS`.
     * 
     */
    @Import(name="encryptionType", required=true)
    private Output encryptionType;

    /**
     * @return The type of encryption. Valid Values: `KMS`.
     * 
     */
    public Output encryptionType() {
        return this.encryptionType;
    }

    /**
     * The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
     * 
     */
    @Import(name="keyId", required=true)
    private Output keyId;

    /**
     * @return The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
     * 
     */
    public Output keyId() {
        return this.keyId;
    }

    private InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs() {}

    private InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs $) {
        this.encryptionType = $.encryptionType;
        this.keyId = $.keyId;
    }

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

    public static final class Builder {
        private InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs $;

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

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

        /**
         * @param encryptionType The type of encryption. Valid Values: `KMS`.
         * 
         * @return builder
         * 
         */
        public Builder encryptionType(Output encryptionType) {
            $.encryptionType = encryptionType;
            return this;
        }

        /**
         * @param encryptionType The type of encryption. Valid Values: `KMS`.
         * 
         * @return builder
         * 
         */
        public Builder encryptionType(String encryptionType) {
            return encryptionType(Output.of(encryptionType));
        }

        /**
         * @param keyId The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
         * 
         * @return builder
         * 
         */
        public Builder keyId(Output keyId) {
            $.keyId = keyId;
            return this;
        }

        /**
         * @param keyId The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
         * 
         * @return builder
         * 
         */
        public Builder keyId(String keyId) {
            return keyId(Output.of(keyId));
        }

        public InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs build() {
            if ($.encryptionType == null) {
                throw new MissingRequiredPropertyException("InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs", "encryptionType");
            }
            if ($.keyId == null) {
                throw new MissingRequiredPropertyException("InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs", "keyId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy