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

com.pulumi.azurenative.desktopvirtualization.MSIXPackageArgs Maven / Gradle / Ivy

The 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.desktopvirtualization;

import com.pulumi.azurenative.desktopvirtualization.inputs.MsixPackageApplicationsArgs;
import com.pulumi.azurenative.desktopvirtualization.inputs.MsixPackageDependenciesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MSIXPackageArgs extends com.pulumi.resources.ResourceArgs {

    public static final MSIXPackageArgs Empty = new MSIXPackageArgs();

    /**
     * User friendly Name to be displayed in the portal.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return User friendly Name to be displayed in the portal.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * The name of the host pool within the specified resource group
     * 
     */
    @Import(name="hostPoolName", required=true)
    private Output hostPoolName;

    /**
     * @return The name of the host pool within the specified resource group
     * 
     */
    public Output hostPoolName() {
        return this.hostPoolName;
    }

    /**
     * VHD/CIM image path on Network Share.
     * 
     */
    @Import(name="imagePath")
    private @Nullable Output imagePath;

    /**
     * @return VHD/CIM image path on Network Share.
     * 
     */
    public Optional> imagePath() {
        return Optional.ofNullable(this.imagePath);
    }

    /**
     * Make this version of the package the active one across the hostpool.
     * 
     */
    @Import(name="isActive")
    private @Nullable Output isActive;

    /**
     * @return Make this version of the package the active one across the hostpool.
     * 
     */
    public Optional> isActive() {
        return Optional.ofNullable(this.isActive);
    }

    /**
     * Specifies how to register Package in feed.
     * 
     */
    @Import(name="isRegularRegistration")
    private @Nullable Output isRegularRegistration;

    /**
     * @return Specifies how to register Package in feed.
     * 
     */
    public Optional> isRegularRegistration() {
        return Optional.ofNullable(this.isRegularRegistration);
    }

    /**
     * Date Package was last updated, found in the appxmanifest.xml.
     * 
     */
    @Import(name="lastUpdated")
    private @Nullable Output lastUpdated;

    /**
     * @return Date Package was last updated, found in the appxmanifest.xml.
     * 
     */
    public Optional> lastUpdated() {
        return Optional.ofNullable(this.lastUpdated);
    }

    /**
     * The version specific package full name of the MSIX package within specified hostpool
     * 
     */
    @Import(name="msixPackageFullName")
    private @Nullable Output msixPackageFullName;

    /**
     * @return The version specific package full name of the MSIX package within specified hostpool
     * 
     */
    public Optional> msixPackageFullName() {
        return Optional.ofNullable(this.msixPackageFullName);
    }

    /**
     * List of package applications.
     * 
     */
    @Import(name="packageApplications")
    private @Nullable Output> packageApplications;

    /**
     * @return List of package applications.
     * 
     */
    public Optional>> packageApplications() {
        return Optional.ofNullable(this.packageApplications);
    }

    /**
     * List of package dependencies.
     * 
     */
    @Import(name="packageDependencies")
    private @Nullable Output> packageDependencies;

    /**
     * @return List of package dependencies.
     * 
     */
    public Optional>> packageDependencies() {
        return Optional.ofNullable(this.packageDependencies);
    }

    /**
     * Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
     * 
     */
    @Import(name="packageFamilyName")
    private @Nullable Output packageFamilyName;

    /**
     * @return Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
     * 
     */
    public Optional> packageFamilyName() {
        return Optional.ofNullable(this.packageFamilyName);
    }

    /**
     * Package Name from appxmanifest.xml.
     * 
     */
    @Import(name="packageName")
    private @Nullable Output packageName;

    /**
     * @return Package Name from appxmanifest.xml.
     * 
     */
    public Optional> packageName() {
        return Optional.ofNullable(this.packageName);
    }

    /**
     * Relative Path to the package inside the image.
     * 
     */
    @Import(name="packageRelativePath")
    private @Nullable Output packageRelativePath;

    /**
     * @return Relative Path to the package inside the image.
     * 
     */
    public Optional> packageRelativePath() {
        return Optional.ofNullable(this.packageRelativePath);
    }

    /**
     * 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;
    }

    /**
     * Package Version found in the appxmanifest.xml.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Package Version found in the appxmanifest.xml.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private MSIXPackageArgs() {}

    private MSIXPackageArgs(MSIXPackageArgs $) {
        this.displayName = $.displayName;
        this.hostPoolName = $.hostPoolName;
        this.imagePath = $.imagePath;
        this.isActive = $.isActive;
        this.isRegularRegistration = $.isRegularRegistration;
        this.lastUpdated = $.lastUpdated;
        this.msixPackageFullName = $.msixPackageFullName;
        this.packageApplications = $.packageApplications;
        this.packageDependencies = $.packageDependencies;
        this.packageFamilyName = $.packageFamilyName;
        this.packageName = $.packageName;
        this.packageRelativePath = $.packageRelativePath;
        this.resourceGroupName = $.resourceGroupName;
        this.version = $.version;
    }

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

    public static final class Builder {
        private MSIXPackageArgs $;

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

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

        /**
         * @param displayName User friendly Name to be displayed in the portal.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName User friendly Name to be displayed in the portal.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param hostPoolName The name of the host pool within the specified resource group
         * 
         * @return builder
         * 
         */
        public Builder hostPoolName(Output hostPoolName) {
            $.hostPoolName = hostPoolName;
            return this;
        }

        /**
         * @param hostPoolName The name of the host pool within the specified resource group
         * 
         * @return builder
         * 
         */
        public Builder hostPoolName(String hostPoolName) {
            return hostPoolName(Output.of(hostPoolName));
        }

        /**
         * @param imagePath VHD/CIM image path on Network Share.
         * 
         * @return builder
         * 
         */
        public Builder imagePath(@Nullable Output imagePath) {
            $.imagePath = imagePath;
            return this;
        }

        /**
         * @param imagePath VHD/CIM image path on Network Share.
         * 
         * @return builder
         * 
         */
        public Builder imagePath(String imagePath) {
            return imagePath(Output.of(imagePath));
        }

        /**
         * @param isActive Make this version of the package the active one across the hostpool.
         * 
         * @return builder
         * 
         */
        public Builder isActive(@Nullable Output isActive) {
            $.isActive = isActive;
            return this;
        }

        /**
         * @param isActive Make this version of the package the active one across the hostpool.
         * 
         * @return builder
         * 
         */
        public Builder isActive(Boolean isActive) {
            return isActive(Output.of(isActive));
        }

        /**
         * @param isRegularRegistration Specifies how to register Package in feed.
         * 
         * @return builder
         * 
         */
        public Builder isRegularRegistration(@Nullable Output isRegularRegistration) {
            $.isRegularRegistration = isRegularRegistration;
            return this;
        }

        /**
         * @param isRegularRegistration Specifies how to register Package in feed.
         * 
         * @return builder
         * 
         */
        public Builder isRegularRegistration(Boolean isRegularRegistration) {
            return isRegularRegistration(Output.of(isRegularRegistration));
        }

        /**
         * @param lastUpdated Date Package was last updated, found in the appxmanifest.xml.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdated(@Nullable Output lastUpdated) {
            $.lastUpdated = lastUpdated;
            return this;
        }

        /**
         * @param lastUpdated Date Package was last updated, found in the appxmanifest.xml.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdated(String lastUpdated) {
            return lastUpdated(Output.of(lastUpdated));
        }

        /**
         * @param msixPackageFullName The version specific package full name of the MSIX package within specified hostpool
         * 
         * @return builder
         * 
         */
        public Builder msixPackageFullName(@Nullable Output msixPackageFullName) {
            $.msixPackageFullName = msixPackageFullName;
            return this;
        }

        /**
         * @param msixPackageFullName The version specific package full name of the MSIX package within specified hostpool
         * 
         * @return builder
         * 
         */
        public Builder msixPackageFullName(String msixPackageFullName) {
            return msixPackageFullName(Output.of(msixPackageFullName));
        }

        /**
         * @param packageApplications List of package applications.
         * 
         * @return builder
         * 
         */
        public Builder packageApplications(@Nullable Output> packageApplications) {
            $.packageApplications = packageApplications;
            return this;
        }

        /**
         * @param packageApplications List of package applications.
         * 
         * @return builder
         * 
         */
        public Builder packageApplications(List packageApplications) {
            return packageApplications(Output.of(packageApplications));
        }

        /**
         * @param packageApplications List of package applications.
         * 
         * @return builder
         * 
         */
        public Builder packageApplications(MsixPackageApplicationsArgs... packageApplications) {
            return packageApplications(List.of(packageApplications));
        }

        /**
         * @param packageDependencies List of package dependencies.
         * 
         * @return builder
         * 
         */
        public Builder packageDependencies(@Nullable Output> packageDependencies) {
            $.packageDependencies = packageDependencies;
            return this;
        }

        /**
         * @param packageDependencies List of package dependencies.
         * 
         * @return builder
         * 
         */
        public Builder packageDependencies(List packageDependencies) {
            return packageDependencies(Output.of(packageDependencies));
        }

        /**
         * @param packageDependencies List of package dependencies.
         * 
         * @return builder
         * 
         */
        public Builder packageDependencies(MsixPackageDependenciesArgs... packageDependencies) {
            return packageDependencies(List.of(packageDependencies));
        }

        /**
         * @param packageFamilyName Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
         * 
         * @return builder
         * 
         */
        public Builder packageFamilyName(@Nullable Output packageFamilyName) {
            $.packageFamilyName = packageFamilyName;
            return this;
        }

        /**
         * @param packageFamilyName Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
         * 
         * @return builder
         * 
         */
        public Builder packageFamilyName(String packageFamilyName) {
            return packageFamilyName(Output.of(packageFamilyName));
        }

        /**
         * @param packageName Package Name from appxmanifest.xml.
         * 
         * @return builder
         * 
         */
        public Builder packageName(@Nullable Output packageName) {
            $.packageName = packageName;
            return this;
        }

        /**
         * @param packageName Package Name from appxmanifest.xml.
         * 
         * @return builder
         * 
         */
        public Builder packageName(String packageName) {
            return packageName(Output.of(packageName));
        }

        /**
         * @param packageRelativePath Relative Path to the package inside the image.
         * 
         * @return builder
         * 
         */
        public Builder packageRelativePath(@Nullable Output packageRelativePath) {
            $.packageRelativePath = packageRelativePath;
            return this;
        }

        /**
         * @param packageRelativePath Relative Path to the package inside the image.
         * 
         * @return builder
         * 
         */
        public Builder packageRelativePath(String packageRelativePath) {
            return packageRelativePath(Output.of(packageRelativePath));
        }

        /**
         * @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 version Package Version found in the appxmanifest.xml.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Package Version found in the appxmanifest.xml.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy