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

com.pulumi.azurenative.azuredata.SqlServerRegistrationArgs 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.azuredata;

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


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

    public static final SqlServerRegistrationArgs Empty = new SqlServerRegistrationArgs();

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Optional Properties as JSON string
     * 
     */
    @Import(name="propertyBag")
    private @Nullable Output propertyBag;

    /**
     * @return Optional Properties as JSON string
     * 
     */
    public Optional> propertyBag() {
        return Optional.ofNullable(this.propertyBag);
    }

    /**
     * Resource Group Name
     * 
     */
    @Import(name="resourceGroup")
    private @Nullable Output resourceGroup;

    /**
     * @return Resource Group Name
     * 
     */
    public Optional> resourceGroup() {
        return Optional.ofNullable(this.resourceGroup);
    }

    /**
     * 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 Output resourceGroupName;

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

    /**
     * Name of the SQL Server registration.
     * 
     */
    @Import(name="sqlServerRegistrationName")
    private @Nullable Output sqlServerRegistrationName;

    /**
     * @return Name of the SQL Server registration.
     * 
     */
    public Optional> sqlServerRegistrationName() {
        return Optional.ofNullable(this.sqlServerRegistrationName);
    }

    /**
     * Subscription Id
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable Output subscriptionId;

    /**
     * @return Subscription Id
     * 
     */
    public Optional> subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private SqlServerRegistrationArgs() {}

    private SqlServerRegistrationArgs(SqlServerRegistrationArgs $) {
        this.location = $.location;
        this.propertyBag = $.propertyBag;
        this.resourceGroup = $.resourceGroup;
        this.resourceGroupName = $.resourceGroupName;
        this.sqlServerRegistrationName = $.sqlServerRegistrationName;
        this.subscriptionId = $.subscriptionId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private SqlServerRegistrationArgs $;

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

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

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param propertyBag Optional Properties as JSON string
         * 
         * @return builder
         * 
         */
        public Builder propertyBag(@Nullable Output propertyBag) {
            $.propertyBag = propertyBag;
            return this;
        }

        /**
         * @param propertyBag Optional Properties as JSON string
         * 
         * @return builder
         * 
         */
        public Builder propertyBag(String propertyBag) {
            return propertyBag(Output.of(propertyBag));
        }

        /**
         * @param resourceGroup Resource Group Name
         * 
         * @return builder
         * 
         */
        public Builder resourceGroup(@Nullable Output resourceGroup) {
            $.resourceGroup = resourceGroup;
            return this;
        }

        /**
         * @param resourceGroup Resource Group Name
         * 
         * @return builder
         * 
         */
        public Builder resourceGroup(String resourceGroup) {
            return resourceGroup(Output.of(resourceGroup));
        }

        /**
         * @param resourceGroupName 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(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName 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) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sqlServerRegistrationName Name of the SQL Server registration.
         * 
         * @return builder
         * 
         */
        public Builder sqlServerRegistrationName(@Nullable Output sqlServerRegistrationName) {
            $.sqlServerRegistrationName = sqlServerRegistrationName;
            return this;
        }

        /**
         * @param sqlServerRegistrationName Name of the SQL Server registration.
         * 
         * @return builder
         * 
         */
        public Builder sqlServerRegistrationName(String sqlServerRegistrationName) {
            return sqlServerRegistrationName(Output.of(sqlServerRegistrationName));
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy