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

com.pulumi.azurenative.servicelinker.ConnectorDryrunArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show 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.servicelinker;

import com.pulumi.azurenative.servicelinker.inputs.CreateOrUpdateDryrunParametersArgs;
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 ConnectorDryrunArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectorDryrunArgs Empty = new ConnectorDryrunArgs();

    /**
     * The name of dryrun.
     * 
     */
    @Import(name="dryrunName")
    private @Nullable Output dryrunName;

    /**
     * @return The name of dryrun.
     * 
     */
    public Optional> dryrunName() {
        return Optional.ofNullable(this.dryrunName);
    }

    /**
     * The name of Azure region.
     * 
     */
    @Import(name="location", required=true)
    private Output location;

    /**
     * @return The name of Azure region.
     * 
     */
    public Output location() {
        return this.location;
    }

    /**
     * The parameters of the dryrun
     * 
     */
    @Import(name="parameters")
    private @Nullable Output parameters;

    /**
     * @return The parameters of the dryrun
     * 
     */
    public Optional> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The ID of the target subscription.
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable Output subscriptionId;

    /**
     * @return The ID of the target subscription.
     * 
     */
    public Optional> subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    private ConnectorDryrunArgs() {}

    private ConnectorDryrunArgs(ConnectorDryrunArgs $) {
        this.dryrunName = $.dryrunName;
        this.location = $.location;
        this.parameters = $.parameters;
        this.resourceGroupName = $.resourceGroupName;
        this.subscriptionId = $.subscriptionId;
    }

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

    public static final class Builder {
        private ConnectorDryrunArgs $;

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

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

        /**
         * @param dryrunName The name of dryrun.
         * 
         * @return builder
         * 
         */
        public Builder dryrunName(@Nullable Output dryrunName) {
            $.dryrunName = dryrunName;
            return this;
        }

        /**
         * @param dryrunName The name of dryrun.
         * 
         * @return builder
         * 
         */
        public Builder dryrunName(String dryrunName) {
            return dryrunName(Output.of(dryrunName));
        }

        /**
         * @param location The name of Azure region.
         * 
         * @return builder
         * 
         */
        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The name of Azure region.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param parameters The parameters of the dryrun
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters The parameters of the dryrun
         * 
         * @return builder
         * 
         */
        public Builder parameters(CreateOrUpdateDryrunParametersArgs parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param subscriptionId The ID of the target subscription.
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId The ID of the target subscription.
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy