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

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

    public static final MigrateProjectArgs Empty = new MigrateProjectArgs();

    /**
     * Gets or sets the eTag for concurrency control.
     * 
     */
    @Import(name="eTag")
    private @Nullable Output eTag;

    /**
     * @return Gets or sets the eTag for concurrency control.
     * 
     */
    public Optional> eTag() {
        return Optional.ofNullable(this.eTag);
    }

    /**
     * Gets or sets the Azure location in which migrate project is created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Gets or sets the Azure location in which migrate project is created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Name of the Azure Migrate project.
     * 
     */
    @Import(name="migrateProjectName")
    private @Nullable Output migrateProjectName;

    /**
     * @return Name of the Azure Migrate project.
     * 
     */
    public Optional> migrateProjectName() {
        return Optional.ofNullable(this.migrateProjectName);
    }

    /**
     * Gets or sets the nested properties.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

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

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

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

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

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

    private MigrateProjectArgs() {}

    private MigrateProjectArgs(MigrateProjectArgs $) {
        this.eTag = $.eTag;
        this.location = $.location;
        this.migrateProjectName = $.migrateProjectName;
        this.properties = $.properties;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private MigrateProjectArgs $;

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

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

        /**
         * @param eTag Gets or sets the eTag for concurrency control.
         * 
         * @return builder
         * 
         */
        public Builder eTag(@Nullable Output eTag) {
            $.eTag = eTag;
            return this;
        }

        /**
         * @param eTag Gets or sets the eTag for concurrency control.
         * 
         * @return builder
         * 
         */
        public Builder eTag(String eTag) {
            return eTag(Output.of(eTag));
        }

        /**
         * @param location Gets or sets the Azure location in which migrate project is created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Gets or sets the Azure location in which migrate project is created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param migrateProjectName Name of the Azure Migrate project.
         * 
         * @return builder
         * 
         */
        public Builder migrateProjectName(@Nullable Output migrateProjectName) {
            $.migrateProjectName = migrateProjectName;
            return this;
        }

        /**
         * @param migrateProjectName Name of the Azure Migrate project.
         * 
         * @return builder
         * 
         */
        public Builder migrateProjectName(String migrateProjectName) {
            return migrateProjectName(Output.of(migrateProjectName));
        }

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

        /**
         * @param properties Gets or sets the nested properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(MigrateProjectPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy