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

com.pulumi.azurenative.sql.inputs.GetTransparentDataEncryptionPlainArgs Maven / Gradle / Ivy

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.azurenative.sql.inputs;

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


public final class GetTransparentDataEncryptionPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTransparentDataEncryptionPlainArgs Empty = new GetTransparentDataEncryptionPlainArgs();

    /**
     * The name of the logical database for which the transparent data encryption is defined.
     * 
     */
    @Import(name="databaseName", required=true)
    private String databaseName;

    /**
     * @return The name of the logical database for which the transparent data encryption is defined.
     * 
     */
    public String databaseName() {
        return this.databaseName;
    }

    /**
     * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the server.
     * 
     */
    @Import(name="serverName", required=true)
    private String serverName;

    /**
     * @return The name of the server.
     * 
     */
    public String serverName() {
        return this.serverName;
    }

    /**
     * The name of the transparent data encryption configuration.
     * 
     */
    @Import(name="tdeName", required=true)
    private String tdeName;

    /**
     * @return The name of the transparent data encryption configuration.
     * 
     */
    public String tdeName() {
        return this.tdeName;
    }

    private GetTransparentDataEncryptionPlainArgs() {}

    private GetTransparentDataEncryptionPlainArgs(GetTransparentDataEncryptionPlainArgs $) {
        this.databaseName = $.databaseName;
        this.resourceGroupName = $.resourceGroupName;
        this.serverName = $.serverName;
        this.tdeName = $.tdeName;
    }

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

    public static final class Builder {
        private GetTransparentDataEncryptionPlainArgs $;

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

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

        /**
         * @param databaseName The name of the logical database for which the transparent data encryption is defined.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param serverName The name of the server.
         * 
         * @return builder
         * 
         */
        public Builder serverName(String serverName) {
            $.serverName = serverName;
            return this;
        }

        /**
         * @param tdeName The name of the transparent data encryption configuration.
         * 
         * @return builder
         * 
         */
        public Builder tdeName(String tdeName) {
            $.tdeName = tdeName;
            return this;
        }

        public GetTransparentDataEncryptionPlainArgs build() {
            if ($.databaseName == null) {
                throw new MissingRequiredPropertyException("GetTransparentDataEncryptionPlainArgs", "databaseName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetTransparentDataEncryptionPlainArgs", "resourceGroupName");
            }
            if ($.serverName == null) {
                throw new MissingRequiredPropertyException("GetTransparentDataEncryptionPlainArgs", "serverName");
            }
            if ($.tdeName == null) {
                throw new MissingRequiredPropertyException("GetTransparentDataEncryptionPlainArgs", "tdeName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy