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

com.pulumi.azurenative.testbase.FavoriteProcessArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.testbase;

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 FavoriteProcessArgs extends com.pulumi.resources.ResourceArgs {

    public static final FavoriteProcessArgs Empty = new FavoriteProcessArgs();

    /**
     * The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
     * 
     */
    @Import(name="actualProcessName", required=true)
    private Output actualProcessName;

    /**
     * @return The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
     * 
     */
    public Output actualProcessName() {
        return this.actualProcessName;
    }

    /**
     * The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
     * 
     */
    @Import(name="favoriteProcessResourceName")
    private @Nullable Output favoriteProcessResourceName;

    /**
     * @return The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
     * 
     */
    public Optional> favoriteProcessResourceName() {
        return Optional.ofNullable(this.favoriteProcessResourceName);
    }

    /**
     * The resource name of the Test Base Package.
     * 
     */
    @Import(name="packageName", required=true)
    private Output packageName;

    /**
     * @return The resource name of the Test Base Package.
     * 
     */
    public Output packageName() {
        return this.packageName;
    }

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

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

    /**
     * The resource name of the Test Base Account.
     * 
     */
    @Import(name="testBaseAccountName", required=true)
    private Output testBaseAccountName;

    /**
     * @return The resource name of the Test Base Account.
     * 
     */
    public Output testBaseAccountName() {
        return this.testBaseAccountName;
    }

    private FavoriteProcessArgs() {}

    private FavoriteProcessArgs(FavoriteProcessArgs $) {
        this.actualProcessName = $.actualProcessName;
        this.favoriteProcessResourceName = $.favoriteProcessResourceName;
        this.packageName = $.packageName;
        this.resourceGroupName = $.resourceGroupName;
        this.testBaseAccountName = $.testBaseAccountName;
    }

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

    public static final class Builder {
        private FavoriteProcessArgs $;

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

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

        /**
         * @param actualProcessName The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
         * 
         * @return builder
         * 
         */
        public Builder actualProcessName(Output actualProcessName) {
            $.actualProcessName = actualProcessName;
            return this;
        }

        /**
         * @param actualProcessName The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
         * 
         * @return builder
         * 
         */
        public Builder actualProcessName(String actualProcessName) {
            return actualProcessName(Output.of(actualProcessName));
        }

        /**
         * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
         * 
         * @return builder
         * 
         */
        public Builder favoriteProcessResourceName(@Nullable Output favoriteProcessResourceName) {
            $.favoriteProcessResourceName = favoriteProcessResourceName;
            return this;
        }

        /**
         * @param favoriteProcessResourceName The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
         * 
         * @return builder
         * 
         */
        public Builder favoriteProcessResourceName(String favoriteProcessResourceName) {
            return favoriteProcessResourceName(Output.of(favoriteProcessResourceName));
        }

        /**
         * @param packageName The resource name of the Test Base Package.
         * 
         * @return builder
         * 
         */
        public Builder packageName(Output packageName) {
            $.packageName = packageName;
            return this;
        }

        /**
         * @param packageName The resource name of the Test Base Package.
         * 
         * @return builder
         * 
         */
        public Builder packageName(String packageName) {
            return packageName(Output.of(packageName));
        }

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

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

        /**
         * @param testBaseAccountName The resource name of the Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder testBaseAccountName(Output testBaseAccountName) {
            $.testBaseAccountName = testBaseAccountName;
            return this;
        }

        /**
         * @param testBaseAccountName The resource name of the Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder testBaseAccountName(String testBaseAccountName) {
            return testBaseAccountName(Output.of(testBaseAccountName));
        }

        public FavoriteProcessArgs build() {
            if ($.actualProcessName == null) {
                throw new MissingRequiredPropertyException("FavoriteProcessArgs", "actualProcessName");
            }
            if ($.packageName == null) {
                throw new MissingRequiredPropertyException("FavoriteProcessArgs", "packageName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("FavoriteProcessArgs", "resourceGroupName");
            }
            if ($.testBaseAccountName == null) {
                throw new MissingRequiredPropertyException("FavoriteProcessArgs", "testBaseAccountName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy