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

com.pulumi.azurenative.migrate.outputs.IISApplicationDetailsResponse 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.outputs;

import com.pulumi.azurenative.migrate.outputs.DirectoryPathResponse;
import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class IISApplicationDetailsResponse {
    /**
     * @return Gets or sets the application pool name.
     * 
     */
    private @Nullable String applicationPoolName;
    /**
     * @return Gets or sets the list of directories.
     * 
     */
    private @Nullable List directories;
    /**
     * @return Gets or sets a value indicating whether 32 bit applications are allowed to run on 64 bit.
     * 
     */
    private @Nullable Boolean enable32BitApiOnWin64;
    /**
     * @return Gets the ID.
     * 
     */
    private String id;
    /**
     * @return Gets or sets the managed pipeline mode.
     * 
     */
    private @Nullable String managedPipelineMode;
    /**
     * @return Second level entity for virtual directories.
     * 
     */
    private @Nullable DirectoryPathResponse path;
    /**
     * @return Gets or sets the runtime version.
     * 
     */
    private @Nullable String runtimeVersion;

    private IISApplicationDetailsResponse() {}
    /**
     * @return Gets or sets the application pool name.
     * 
     */
    public Optional applicationPoolName() {
        return Optional.ofNullable(this.applicationPoolName);
    }
    /**
     * @return Gets or sets the list of directories.
     * 
     */
    public List directories() {
        return this.directories == null ? List.of() : this.directories;
    }
    /**
     * @return Gets or sets a value indicating whether 32 bit applications are allowed to run on 64 bit.
     * 
     */
    public Optional enable32BitApiOnWin64() {
        return Optional.ofNullable(this.enable32BitApiOnWin64);
    }
    /**
     * @return Gets the ID.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the managed pipeline mode.
     * 
     */
    public Optional managedPipelineMode() {
        return Optional.ofNullable(this.managedPipelineMode);
    }
    /**
     * @return Second level entity for virtual directories.
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }
    /**
     * @return Gets or sets the runtime version.
     * 
     */
    public Optional runtimeVersion() {
        return Optional.ofNullable(this.runtimeVersion);
    }

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

    public static Builder builder(IISApplicationDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String applicationPoolName;
        private @Nullable List directories;
        private @Nullable Boolean enable32BitApiOnWin64;
        private String id;
        private @Nullable String managedPipelineMode;
        private @Nullable DirectoryPathResponse path;
        private @Nullable String runtimeVersion;
        public Builder() {}
        public Builder(IISApplicationDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationPoolName = defaults.applicationPoolName;
    	      this.directories = defaults.directories;
    	      this.enable32BitApiOnWin64 = defaults.enable32BitApiOnWin64;
    	      this.id = defaults.id;
    	      this.managedPipelineMode = defaults.managedPipelineMode;
    	      this.path = defaults.path;
    	      this.runtimeVersion = defaults.runtimeVersion;
        }

        @CustomType.Setter
        public Builder applicationPoolName(@Nullable String applicationPoolName) {

            this.applicationPoolName = applicationPoolName;
            return this;
        }
        @CustomType.Setter
        public Builder directories(@Nullable List directories) {

            this.directories = directories;
            return this;
        }
        public Builder directories(DirectoryPathResponse... directories) {
            return directories(List.of(directories));
        }
        @CustomType.Setter
        public Builder enable32BitApiOnWin64(@Nullable Boolean enable32BitApiOnWin64) {

            this.enable32BitApiOnWin64 = enable32BitApiOnWin64;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("IISApplicationDetailsResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder managedPipelineMode(@Nullable String managedPipelineMode) {

            this.managedPipelineMode = managedPipelineMode;
            return this;
        }
        @CustomType.Setter
        public Builder path(@Nullable DirectoryPathResponse path) {

            this.path = path;
            return this;
        }
        @CustomType.Setter
        public Builder runtimeVersion(@Nullable String runtimeVersion) {

            this.runtimeVersion = runtimeVersion;
            return this;
        }
        public IISApplicationDetailsResponse build() {
            final var _resultValue = new IISApplicationDetailsResponse();
            _resultValue.applicationPoolName = applicationPoolName;
            _resultValue.directories = directories;
            _resultValue.enable32BitApiOnWin64 = enable32BitApiOnWin64;
            _resultValue.id = id;
            _resultValue.managedPipelineMode = managedPipelineMode;
            _resultValue.path = path;
            _resultValue.runtimeVersion = runtimeVersion;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy