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

com.pulumi.azurenative.migrate.WorkloadDeploymentArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.migrate.inputs.WorkloadDeploymentModelPropertiesArgs;
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 WorkloadDeploymentArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkloadDeploymentArgs Empty = new WorkloadDeploymentArgs();

    /**
     * ModernizeProject name.
     * 
     */
    @Import(name="modernizeProjectName", required=true)
    private Output modernizeProjectName;

    /**
     * @return ModernizeProject name.
     * 
     */
    public Output modernizeProjectName() {
        return this.modernizeProjectName;
    }

    /**
     * Workload deployment model properties.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return Workload deployment model properties.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Name of the Azure Resource Group that project is part of.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the Azure Resource Group that project is part of.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Azure Subscription Id in which project was created.
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable Output subscriptionId;

    /**
     * @return Azure Subscription Id in which project was created.
     * 
     */
    public Optional> subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    /**
     * Gets or sets the resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Gets or sets the resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Workload deployment name.
     * 
     */
    @Import(name="workloadDeploymentName")
    private @Nullable Output workloadDeploymentName;

    /**
     * @return Workload deployment name.
     * 
     */
    public Optional> workloadDeploymentName() {
        return Optional.ofNullable(this.workloadDeploymentName);
    }

    private WorkloadDeploymentArgs() {}

    private WorkloadDeploymentArgs(WorkloadDeploymentArgs $) {
        this.modernizeProjectName = $.modernizeProjectName;
        this.properties = $.properties;
        this.resourceGroupName = $.resourceGroupName;
        this.subscriptionId = $.subscriptionId;
        this.tags = $.tags;
        this.workloadDeploymentName = $.workloadDeploymentName;
    }

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

    public static final class Builder {
        private WorkloadDeploymentArgs $;

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

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

        /**
         * @param modernizeProjectName ModernizeProject name.
         * 
         * @return builder
         * 
         */
        public Builder modernizeProjectName(Output modernizeProjectName) {
            $.modernizeProjectName = modernizeProjectName;
            return this;
        }

        /**
         * @param modernizeProjectName ModernizeProject name.
         * 
         * @return builder
         * 
         */
        public Builder modernizeProjectName(String modernizeProjectName) {
            return modernizeProjectName(Output.of(modernizeProjectName));
        }

        /**
         * @param properties Workload deployment model properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Workload deployment model properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(WorkloadDeploymentModelPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param resourceGroupName Name of the Azure Resource Group that project is part of.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the Azure Resource Group that project is part of.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param subscriptionId Azure Subscription Id in which project was created.
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId Azure Subscription Id in which project was created.
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

        /**
         * @param tags Gets or sets the resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Gets or sets the resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param workloadDeploymentName Workload deployment name.
         * 
         * @return builder
         * 
         */
        public Builder workloadDeploymentName(@Nullable Output workloadDeploymentName) {
            $.workloadDeploymentName = workloadDeploymentName;
            return this;
        }

        /**
         * @param workloadDeploymentName Workload deployment name.
         * 
         * @return builder
         * 
         */
        public Builder workloadDeploymentName(String workloadDeploymentName) {
            return workloadDeploymentName(Output.of(workloadDeploymentName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy