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

com.pulumi.aws.glue.SecurityConfigurationArgs 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.glue;

import com.pulumi.aws.glue.inputs.SecurityConfigurationEncryptionConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SecurityConfigurationArgs Empty = new SecurityConfigurationArgs();

    /**
     * Configuration block containing encryption configuration. Detailed below.
     * 
     */
    @Import(name="encryptionConfiguration", required=true)
    private Output encryptionConfiguration;

    /**
     * @return Configuration block containing encryption configuration. Detailed below.
     * 
     */
    public Output encryptionConfiguration() {
        return this.encryptionConfiguration;
    }

    /**
     * Name of the security configuration.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the security configuration.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private SecurityConfigurationArgs() {}

    private SecurityConfigurationArgs(SecurityConfigurationArgs $) {
        this.encryptionConfiguration = $.encryptionConfiguration;
        this.name = $.name;
    }

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

    public static final class Builder {
        private SecurityConfigurationArgs $;

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

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

        /**
         * @param encryptionConfiguration Configuration block containing encryption configuration. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder encryptionConfiguration(Output encryptionConfiguration) {
            $.encryptionConfiguration = encryptionConfiguration;
            return this;
        }

        /**
         * @param encryptionConfiguration Configuration block containing encryption configuration. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder encryptionConfiguration(SecurityConfigurationEncryptionConfigurationArgs encryptionConfiguration) {
            return encryptionConfiguration(Output.of(encryptionConfiguration));
        }

        /**
         * @param name Name of the security configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the security configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public SecurityConfigurationArgs build() {
            if ($.encryptionConfiguration == null) {
                throw new MissingRequiredPropertyException("SecurityConfigurationArgs", "encryptionConfiguration");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy