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

com.pulumi.azurenative.migrate.inputs.IISWebServerArgs 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.inputs.OperatingSystemDetailsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * IISWeb server.
 * 
 */
public final class IISWebServerArgs extends com.pulumi.resources.ResourceArgs {

    public static final IISWebServerArgs Empty = new IISWebServerArgs();

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

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

    /**
     * Gets or sets list of ip addresses.
     * 
     */
    @Import(name="ipAddresses")
    private @Nullable Output> ipAddresses;

    /**
     * @return Gets or sets list of ip addresses.
     * 
     */
    public Optional>> ipAddresses() {
        return Optional.ofNullable(this.ipAddresses);
    }

    /**
     * Gets or sets the list of machines.
     * 
     */
    @Import(name="machines")
    private @Nullable Output> machines;

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

    @Import(name="operatingSystemDetails")
    private @Nullable Output operatingSystemDetails;

    public Optional> operatingSystemDetails() {
        return Optional.ofNullable(this.operatingSystemDetails);
    }

    /**
     * Gets or sets the server root configuration location.
     * 
     */
    @Import(name="rootConfigurationLocation")
    private @Nullable Output rootConfigurationLocation;

    /**
     * @return Gets or sets the server root configuration location.
     * 
     */
    public Optional> rootConfigurationLocation() {
        return Optional.ofNullable(this.rootConfigurationLocation);
    }

    /**
     * Gets or sets the run as account id.
     * 
     */
    @Import(name="runAsAccountId")
    private @Nullable Output runAsAccountId;

    /**
     * @return Gets or sets the run as account id.
     * 
     */
    public Optional> runAsAccountId() {
        return Optional.ofNullable(this.runAsAccountId);
    }

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

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

    /**
     * Gets or sets the web server id.
     * 
     */
    @Import(name="serverId")
    private @Nullable Output serverId;

    /**
     * @return Gets or sets the web server id.
     * 
     */
    public Optional> serverId() {
        return Optional.ofNullable(this.serverId);
    }

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

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

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

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

    /**
     * Gets or sets the list of web applications.
     * 
     */
    @Import(name="webApplications")
    private @Nullable Output> webApplications;

    /**
     * @return Gets or sets the list of web applications.
     * 
     */
    public Optional>> webApplications() {
        return Optional.ofNullable(this.webApplications);
    }

    private IISWebServerArgs() {}

    private IISWebServerArgs(IISWebServerArgs $) {
        this.displayName = $.displayName;
        this.ipAddresses = $.ipAddresses;
        this.machines = $.machines;
        this.operatingSystemDetails = $.operatingSystemDetails;
        this.rootConfigurationLocation = $.rootConfigurationLocation;
        this.runAsAccountId = $.runAsAccountId;
        this.serverFqdn = $.serverFqdn;
        this.serverId = $.serverId;
        this.serverName = $.serverName;
        this.version = $.version;
        this.webApplications = $.webApplications;
    }

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

    public static final class Builder {
        private IISWebServerArgs $;

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

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

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

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

        /**
         * @param ipAddresses Gets or sets list of ip addresses.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(@Nullable Output> ipAddresses) {
            $.ipAddresses = ipAddresses;
            return this;
        }

        /**
         * @param ipAddresses Gets or sets list of ip addresses.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(List ipAddresses) {
            return ipAddresses(Output.of(ipAddresses));
        }

        /**
         * @param ipAddresses Gets or sets list of ip addresses.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(String... ipAddresses) {
            return ipAddresses(List.of(ipAddresses));
        }

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

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

        /**
         * @param machines Gets or sets the list of machines.
         * 
         * @return builder
         * 
         */
        public Builder machines(String... machines) {
            return machines(List.of(machines));
        }

        public Builder operatingSystemDetails(@Nullable Output operatingSystemDetails) {
            $.operatingSystemDetails = operatingSystemDetails;
            return this;
        }

        public Builder operatingSystemDetails(OperatingSystemDetailsArgs operatingSystemDetails) {
            return operatingSystemDetails(Output.of(operatingSystemDetails));
        }

        /**
         * @param rootConfigurationLocation Gets or sets the server root configuration location.
         * 
         * @return builder
         * 
         */
        public Builder rootConfigurationLocation(@Nullable Output rootConfigurationLocation) {
            $.rootConfigurationLocation = rootConfigurationLocation;
            return this;
        }

        /**
         * @param rootConfigurationLocation Gets or sets the server root configuration location.
         * 
         * @return builder
         * 
         */
        public Builder rootConfigurationLocation(String rootConfigurationLocation) {
            return rootConfigurationLocation(Output.of(rootConfigurationLocation));
        }

        /**
         * @param runAsAccountId Gets or sets the run as account id.
         * 
         * @return builder
         * 
         */
        public Builder runAsAccountId(@Nullable Output runAsAccountId) {
            $.runAsAccountId = runAsAccountId;
            return this;
        }

        /**
         * @param runAsAccountId Gets or sets the run as account id.
         * 
         * @return builder
         * 
         */
        public Builder runAsAccountId(String runAsAccountId) {
            return runAsAccountId(Output.of(runAsAccountId));
        }

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

        /**
         * @param serverFqdn Gets or sets the server FQDN.
         * 
         * @return builder
         * 
         */
        public Builder serverFqdn(String serverFqdn) {
            return serverFqdn(Output.of(serverFqdn));
        }

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

        /**
         * @param serverId Gets or sets the web server id.
         * 
         * @return builder
         * 
         */
        public Builder serverId(String serverId) {
            return serverId(Output.of(serverId));
        }

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

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

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

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

        /**
         * @param webApplications Gets or sets the list of web applications.
         * 
         * @return builder
         * 
         */
        public Builder webApplications(@Nullable Output> webApplications) {
            $.webApplications = webApplications;
            return this;
        }

        /**
         * @param webApplications Gets or sets the list of web applications.
         * 
         * @return builder
         * 
         */
        public Builder webApplications(List webApplications) {
            return webApplications(Output.of(webApplications));
        }

        /**
         * @param webApplications Gets or sets the list of web applications.
         * 
         * @return builder
         * 
         */
        public Builder webApplications(String... webApplications) {
            return webApplications(List.of(webApplications));
        }

        public IISWebServerArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy