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

com.pulumi.azure.workloadssap.outputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration 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.azure.workloadssap.outputs;

import com.pulumi.azure.workloadssap.outputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration {
    /**
     * @return The number of instances for the Application Server. Possible values are at least `1`. Changing this forces a new resource to be created.
     * 
     */
    private Integer instanceCount;
    /**
     * @return The resource ID of the Subnet for the Application Server. Changing this forces a new resource to be created.
     * 
     */
    private String subnetId;
    /**
     * @return A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
     * 
     */
    private ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfiguration virtualMachineConfiguration;

    private ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration() {}
    /**
     * @return The number of instances for the Application Server. Possible values are at least `1`. Changing this forces a new resource to be created.
     * 
     */
    public Integer instanceCount() {
        return this.instanceCount;
    }
    /**
     * @return The resource ID of the Subnet for the Application Server. Changing this forces a new resource to be created.
     * 
     */
    public String subnetId() {
        return this.subnetId;
    }
    /**
     * @return A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
     * 
     */
    public ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfiguration virtualMachineConfiguration() {
        return this.virtualMachineConfiguration;
    }

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

    public static Builder builder(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer instanceCount;
        private String subnetId;
        private ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfiguration virtualMachineConfiguration;
        public Builder() {}
        public Builder(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.instanceCount = defaults.instanceCount;
    	      this.subnetId = defaults.subnetId;
    	      this.virtualMachineConfiguration = defaults.virtualMachineConfiguration;
        }

        @CustomType.Setter
        public Builder instanceCount(Integer instanceCount) {
            if (instanceCount == null) {
              throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration", "instanceCount");
            }
            this.instanceCount = instanceCount;
            return this;
        }
        @CustomType.Setter
        public Builder subnetId(String subnetId) {
            if (subnetId == null) {
              throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration", "subnetId");
            }
            this.subnetId = subnetId;
            return this;
        }
        @CustomType.Setter
        public Builder virtualMachineConfiguration(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfiguration virtualMachineConfiguration) {
            if (virtualMachineConfiguration == null) {
              throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration", "virtualMachineConfiguration");
            }
            this.virtualMachineConfiguration = virtualMachineConfiguration;
            return this;
        }
        public ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration build() {
            final var _resultValue = new ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfiguration();
            _resultValue.instanceCount = instanceCount;
            _resultValue.subnetId = subnetId;
            _resultValue.virtualMachineConfiguration = virtualMachineConfiguration;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy