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

com.pulumi.azurenative.awsconnector.inputs.EncryptionConfigArgs 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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.ProviderArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of EncryptionConfig
 * 
 */
public final class EncryptionConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final EncryptionConfigArgs Empty = new EncryptionConfigArgs();

    /**
     * <p>Key Management Service (KMS) key. Either the ARN or the alias can be used.</p>
     * 
     */
    @Import(name="provider")
    private @Nullable Output provider;

    /**
     * @return <p>Key Management Service (KMS) key. Either the ARN or the alias can be used.</p>
     * 
     */
    public Optional> provider() {
        return Optional.ofNullable(this.provider);
    }

    /**
     * <p>Specifies the resources to be encrypted. The only supported value is <code>secrets</code>.</p>
     * 
     */
    @Import(name="resources")
    private @Nullable Output> resources;

    /**
     * @return <p>Specifies the resources to be encrypted. The only supported value is <code>secrets</code>.</p>
     * 
     */
    public Optional>> resources() {
        return Optional.ofNullable(this.resources);
    }

    private EncryptionConfigArgs() {}

    private EncryptionConfigArgs(EncryptionConfigArgs $) {
        this.provider = $.provider;
        this.resources = $.resources;
    }

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

    public static final class Builder {
        private EncryptionConfigArgs $;

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

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

        /**
         * @param provider <p>Key Management Service (KMS) key. Either the ARN or the alias can be used.</p>
         * 
         * @return builder
         * 
         */
        public Builder provider(@Nullable Output provider) {
            $.provider = provider;
            return this;
        }

        /**
         * @param provider <p>Key Management Service (KMS) key. Either the ARN or the alias can be used.</p>
         * 
         * @return builder
         * 
         */
        public Builder provider(ProviderArgs provider) {
            return provider(Output.of(provider));
        }

        /**
         * @param resources <p>Specifies the resources to be encrypted. The only supported value is <code>secrets</code>.</p>
         * 
         * @return builder
         * 
         */
        public Builder resources(@Nullable Output> resources) {
            $.resources = resources;
            return this;
        }

        /**
         * @param resources <p>Specifies the resources to be encrypted. The only supported value is <code>secrets</code>.</p>
         * 
         * @return builder
         * 
         */
        public Builder resources(List resources) {
            return resources(Output.of(resources));
        }

        /**
         * @param resources <p>Specifies the resources to be encrypted. The only supported value is <code>secrets</code>.</p>
         * 
         * @return builder
         * 
         */
        public Builder resources(String... resources) {
            return resources(List.of(resources));
        }

        public EncryptionConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy