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

com.pulumi.azurenative.migrate.outputs.IISWorkloadInstanceModelCustomPropertiesResponse Maven / Gradle / Ivy

// *** 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.IISWebApplicationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IISWorkloadInstanceModelCustomPropertiesResponse {
    /**
     * @return Gets or sets the container Id.
     * 
     */
    private @Nullable String containerName;
    /**
     * @return Gets or sets the fileshare name.
     * 
     */
    private @Nullable String fileshareName;
    /**
     * @return IISWeb application.
     * 
     */
    private @Nullable IISWebApplicationResponse iisWebApplication;
    /**
     * @return Gets or sets the instance type.
     * Expected value is 'IISWorkloadInstanceModelCustomProperties'.
     * 
     */
    private String instanceType;
    /**
     * @return Gets or sets the Web application ARM id.
     * 
     */
    private @Nullable String webAppArmId;
    /**
     * @return Gets or sets the Web application site name.
     * 
     */
    private @Nullable String webAppSiteName;

    private IISWorkloadInstanceModelCustomPropertiesResponse() {}
    /**
     * @return Gets or sets the container Id.
     * 
     */
    public Optional containerName() {
        return Optional.ofNullable(this.containerName);
    }
    /**
     * @return Gets or sets the fileshare name.
     * 
     */
    public Optional fileshareName() {
        return Optional.ofNullable(this.fileshareName);
    }
    /**
     * @return IISWeb application.
     * 
     */
    public Optional iisWebApplication() {
        return Optional.ofNullable(this.iisWebApplication);
    }
    /**
     * @return Gets or sets the instance type.
     * Expected value is 'IISWorkloadInstanceModelCustomProperties'.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }
    /**
     * @return Gets or sets the Web application ARM id.
     * 
     */
    public Optional webAppArmId() {
        return Optional.ofNullable(this.webAppArmId);
    }
    /**
     * @return Gets or sets the Web application site name.
     * 
     */
    public Optional webAppSiteName() {
        return Optional.ofNullable(this.webAppSiteName);
    }

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

    public static Builder builder(IISWorkloadInstanceModelCustomPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String containerName;
        private @Nullable String fileshareName;
        private @Nullable IISWebApplicationResponse iisWebApplication;
        private String instanceType;
        private @Nullable String webAppArmId;
        private @Nullable String webAppSiteName;
        public Builder() {}
        public Builder(IISWorkloadInstanceModelCustomPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.containerName = defaults.containerName;
    	      this.fileshareName = defaults.fileshareName;
    	      this.iisWebApplication = defaults.iisWebApplication;
    	      this.instanceType = defaults.instanceType;
    	      this.webAppArmId = defaults.webAppArmId;
    	      this.webAppSiteName = defaults.webAppSiteName;
        }

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

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

            this.fileshareName = fileshareName;
            return this;
        }
        @CustomType.Setter
        public Builder iisWebApplication(@Nullable IISWebApplicationResponse iisWebApplication) {

            this.iisWebApplication = iisWebApplication;
            return this;
        }
        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("IISWorkloadInstanceModelCustomPropertiesResponse", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        @CustomType.Setter
        public Builder webAppArmId(@Nullable String webAppArmId) {

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

            this.webAppSiteName = webAppSiteName;
            return this;
        }
        public IISWorkloadInstanceModelCustomPropertiesResponse build() {
            final var _resultValue = new IISWorkloadInstanceModelCustomPropertiesResponse();
            _resultValue.containerName = containerName;
            _resultValue.fileshareName = fileshareName;
            _resultValue.iisWebApplication = iisWebApplication;
            _resultValue.instanceType = instanceType;
            _resultValue.webAppArmId = webAppArmId;
            _resultValue.webAppSiteName = webAppSiteName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy