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

com.pulumi.azurenative.migrate.inputs.ProjectPropertiesArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.migrate.enums.ProjectStatus;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of a project.
 * 
 */
public final class ProjectPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProjectPropertiesArgs Empty = new ProjectPropertiesArgs();

    /**
     * Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.
     * 
     */
    @Import(name="assessmentSolutionId")
    private @Nullable Output assessmentSolutionId;

    /**
     * @return Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.
     * 
     */
    public Optional> assessmentSolutionId() {
        return Optional.ofNullable(this.assessmentSolutionId);
    }

    /**
     * The ARM id of the storage account used for interactions when public access is disabled.
     * 
     */
    @Import(name="customerStorageAccountArmId")
    private @Nullable Output customerStorageAccountArmId;

    /**
     * @return The ARM id of the storage account used for interactions when public access is disabled.
     * 
     */
    public Optional> customerStorageAccountArmId() {
        return Optional.ofNullable(this.customerStorageAccountArmId);
    }

    /**
     * The ARM id of service map workspace created by customer.
     * 
     */
    @Import(name="customerWorkspaceId")
    private @Nullable Output customerWorkspaceId;

    /**
     * @return The ARM id of service map workspace created by customer.
     * 
     */
    public Optional> customerWorkspaceId() {
        return Optional.ofNullable(this.customerWorkspaceId);
    }

    /**
     * Location of service map workspace created by customer.
     * 
     */
    @Import(name="customerWorkspaceLocation")
    private @Nullable Output customerWorkspaceLocation;

    /**
     * @return Location of service map workspace created by customer.
     * 
     */
    public Optional> customerWorkspaceLocation() {
        return Optional.ofNullable(this.customerWorkspaceLocation);
    }

    /**
     * Assessment project status.
     * 
     */
    @Import(name="projectStatus")
    private @Nullable Output> projectStatus;

    /**
     * @return Assessment project status.
     * 
     */
    public Optional>> projectStatus() {
        return Optional.ofNullable(this.projectStatus);
    }

    /**
     * This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
     * 
     */
    @Import(name="publicNetworkAccess")
    private @Nullable Output publicNetworkAccess;

    /**
     * @return This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
     * 
     */
    public Optional> publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }

    private ProjectPropertiesArgs() {}

    private ProjectPropertiesArgs(ProjectPropertiesArgs $) {
        this.assessmentSolutionId = $.assessmentSolutionId;
        this.customerStorageAccountArmId = $.customerStorageAccountArmId;
        this.customerWorkspaceId = $.customerWorkspaceId;
        this.customerWorkspaceLocation = $.customerWorkspaceLocation;
        this.projectStatus = $.projectStatus;
        this.publicNetworkAccess = $.publicNetworkAccess;
    }

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

    public static final class Builder {
        private ProjectPropertiesArgs $;

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

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

        /**
         * @param assessmentSolutionId Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.
         * 
         * @return builder
         * 
         */
        public Builder assessmentSolutionId(@Nullable Output assessmentSolutionId) {
            $.assessmentSolutionId = assessmentSolutionId;
            return this;
        }

        /**
         * @param assessmentSolutionId Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.
         * 
         * @return builder
         * 
         */
        public Builder assessmentSolutionId(String assessmentSolutionId) {
            return assessmentSolutionId(Output.of(assessmentSolutionId));
        }

        /**
         * @param customerStorageAccountArmId The ARM id of the storage account used for interactions when public access is disabled.
         * 
         * @return builder
         * 
         */
        public Builder customerStorageAccountArmId(@Nullable Output customerStorageAccountArmId) {
            $.customerStorageAccountArmId = customerStorageAccountArmId;
            return this;
        }

        /**
         * @param customerStorageAccountArmId The ARM id of the storage account used for interactions when public access is disabled.
         * 
         * @return builder
         * 
         */
        public Builder customerStorageAccountArmId(String customerStorageAccountArmId) {
            return customerStorageAccountArmId(Output.of(customerStorageAccountArmId));
        }

        /**
         * @param customerWorkspaceId The ARM id of service map workspace created by customer.
         * 
         * @return builder
         * 
         */
        public Builder customerWorkspaceId(@Nullable Output customerWorkspaceId) {
            $.customerWorkspaceId = customerWorkspaceId;
            return this;
        }

        /**
         * @param customerWorkspaceId The ARM id of service map workspace created by customer.
         * 
         * @return builder
         * 
         */
        public Builder customerWorkspaceId(String customerWorkspaceId) {
            return customerWorkspaceId(Output.of(customerWorkspaceId));
        }

        /**
         * @param customerWorkspaceLocation Location of service map workspace created by customer.
         * 
         * @return builder
         * 
         */
        public Builder customerWorkspaceLocation(@Nullable Output customerWorkspaceLocation) {
            $.customerWorkspaceLocation = customerWorkspaceLocation;
            return this;
        }

        /**
         * @param customerWorkspaceLocation Location of service map workspace created by customer.
         * 
         * @return builder
         * 
         */
        public Builder customerWorkspaceLocation(String customerWorkspaceLocation) {
            return customerWorkspaceLocation(Output.of(customerWorkspaceLocation));
        }

        /**
         * @param projectStatus Assessment project status.
         * 
         * @return builder
         * 
         */
        public Builder projectStatus(@Nullable Output> projectStatus) {
            $.projectStatus = projectStatus;
            return this;
        }

        /**
         * @param projectStatus Assessment project status.
         * 
         * @return builder
         * 
         */
        public Builder projectStatus(Either projectStatus) {
            return projectStatus(Output.of(projectStatus));
        }

        /**
         * @param projectStatus Assessment project status.
         * 
         * @return builder
         * 
         */
        public Builder projectStatus(String projectStatus) {
            return projectStatus(Either.ofLeft(projectStatus));
        }

        /**
         * @param projectStatus Assessment project status.
         * 
         * @return builder
         * 
         */
        public Builder projectStatus(ProjectStatus projectStatus) {
            return projectStatus(Either.ofRight(projectStatus));
        }

        /**
         * @param publicNetworkAccess This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(@Nullable Output publicNetworkAccess) {
            $.publicNetworkAccess = publicNetworkAccess;
            return this;
        }

        /**
         * @param publicNetworkAccess This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccess(String publicNetworkAccess) {
            return publicNetworkAccess(Output.of(publicNetworkAccess));
        }

        public ProjectPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy