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

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

There is a newer version: 2.89.2
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.inputs.IISWebApplicationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * IIS workload instance model custom properties.
 * 
 */
public final class IISWorkloadInstanceModelCustomPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final IISWorkloadInstanceModelCustomPropertiesArgs Empty = new IISWorkloadInstanceModelCustomPropertiesArgs();

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

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

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

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

    /**
     * IISWeb application.
     * 
     */
    @Import(name="iisWebApplication")
    private @Nullable Output iisWebApplication;

    /**
     * @return IISWeb application.
     * 
     */
    public Optional> iisWebApplication() {
        return Optional.ofNullable(this.iisWebApplication);
    }

    /**
     * Gets or sets the instance type.
     * Expected value is 'IISWorkloadInstanceModelCustomProperties'.
     * 
     */
    @Import(name="instanceType", required=true)
    private Output instanceType;

    /**
     * @return Gets or sets the instance type.
     * Expected value is 'IISWorkloadInstanceModelCustomProperties'.
     * 
     */
    public Output instanceType() {
        return this.instanceType;
    }

    /**
     * Gets or sets the Web application ARM id.
     * 
     */
    @Import(name="webAppArmId")
    private @Nullable Output webAppArmId;

    /**
     * @return Gets or sets the Web application ARM id.
     * 
     */
    public Optional> webAppArmId() {
        return Optional.ofNullable(this.webAppArmId);
    }

    /**
     * Gets or sets the Web application site name.
     * 
     */
    @Import(name="webAppSiteName")
    private @Nullable Output webAppSiteName;

    /**
     * @return Gets or sets the Web application site name.
     * 
     */
    public Optional> webAppSiteName() {
        return Optional.ofNullable(this.webAppSiteName);
    }

    private IISWorkloadInstanceModelCustomPropertiesArgs() {}

    private IISWorkloadInstanceModelCustomPropertiesArgs(IISWorkloadInstanceModelCustomPropertiesArgs $) {
        this.containerName = $.containerName;
        this.fileshareName = $.fileshareName;
        this.iisWebApplication = $.iisWebApplication;
        this.instanceType = $.instanceType;
        this.webAppArmId = $.webAppArmId;
        this.webAppSiteName = $.webAppSiteName;
    }

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

    public static final class Builder {
        private IISWorkloadInstanceModelCustomPropertiesArgs $;

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

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

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

        /**
         * @param containerName Gets or sets the container Id.
         * 
         * @return builder
         * 
         */
        public Builder containerName(String containerName) {
            return containerName(Output.of(containerName));
        }

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

        /**
         * @param fileshareName Gets or sets the fileshare name.
         * 
         * @return builder
         * 
         */
        public Builder fileshareName(String fileshareName) {
            return fileshareName(Output.of(fileshareName));
        }

        /**
         * @param iisWebApplication IISWeb application.
         * 
         * @return builder
         * 
         */
        public Builder iisWebApplication(@Nullable Output iisWebApplication) {
            $.iisWebApplication = iisWebApplication;
            return this;
        }

        /**
         * @param iisWebApplication IISWeb application.
         * 
         * @return builder
         * 
         */
        public Builder iisWebApplication(IISWebApplicationArgs iisWebApplication) {
            return iisWebApplication(Output.of(iisWebApplication));
        }

        /**
         * @param instanceType Gets or sets the instance type.
         * Expected value is 'IISWorkloadInstanceModelCustomProperties'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(Output instanceType) {
            $.instanceType = instanceType;
            return this;
        }

        /**
         * @param instanceType Gets or sets the instance type.
         * Expected value is 'IISWorkloadInstanceModelCustomProperties'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(String instanceType) {
            return instanceType(Output.of(instanceType));
        }

        /**
         * @param webAppArmId Gets or sets the Web application ARM id.
         * 
         * @return builder
         * 
         */
        public Builder webAppArmId(@Nullable Output webAppArmId) {
            $.webAppArmId = webAppArmId;
            return this;
        }

        /**
         * @param webAppArmId Gets or sets the Web application ARM id.
         * 
         * @return builder
         * 
         */
        public Builder webAppArmId(String webAppArmId) {
            return webAppArmId(Output.of(webAppArmId));
        }

        /**
         * @param webAppSiteName Gets or sets the Web application site name.
         * 
         * @return builder
         * 
         */
        public Builder webAppSiteName(@Nullable Output webAppSiteName) {
            $.webAppSiteName = webAppSiteName;
            return this;
        }

        /**
         * @param webAppSiteName Gets or sets the Web application site name.
         * 
         * @return builder
         * 
         */
        public Builder webAppSiteName(String webAppSiteName) {
            return webAppSiteName(Output.of(webAppSiteName));
        }

        public IISWorkloadInstanceModelCustomPropertiesArgs build() {
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy