com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.inputs;
import com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
public final class ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs Empty = new ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs();
/**
* The number of instances for the Application Server. Possible values are at least `1`. Changing this forces a new resource to be created.
*
*/
@Import(name="instanceCount", required=true)
private Output instanceCount;
/**
* @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 Output instanceCount() {
return this.instanceCount;
}
/**
* The resource ID of the Subnet for the Application Server. Changing this forces a new resource to be created.
*
*/
@Import(name="subnetId", required=true)
private Output subnetId;
/**
* @return The resource ID of the Subnet for the Application Server. Changing this forces a new resource to be created.
*
*/
public Output subnetId() {
return this.subnetId;
}
/**
* A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
*
*/
@Import(name="virtualMachineConfiguration", required=true)
private Output virtualMachineConfiguration;
/**
* @return A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
*
*/
public Output virtualMachineConfiguration() {
return this.virtualMachineConfiguration;
}
private ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs() {}
private ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs $) {
this.instanceCount = $.instanceCount;
this.subnetId = $.subnetId;
this.virtualMachineConfiguration = $.virtualMachineConfiguration;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs $;
public Builder() {
$ = new ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs();
}
public Builder(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs defaults) {
$ = new ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param instanceCount The number of instances for the Application Server. Possible values are at least `1`. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder instanceCount(Output instanceCount) {
$.instanceCount = instanceCount;
return this;
}
/**
* @param instanceCount The number of instances for the Application Server. Possible values are at least `1`. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder instanceCount(Integer instanceCount) {
return instanceCount(Output.of(instanceCount));
}
/**
* @param subnetId The resource ID of the Subnet for the Application Server. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder subnetId(Output subnetId) {
$.subnetId = subnetId;
return this;
}
/**
* @param subnetId The resource ID of the Subnet for the Application Server. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder subnetId(String subnetId) {
return subnetId(Output.of(subnetId));
}
/**
* @param virtualMachineConfiguration A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder virtualMachineConfiguration(Output virtualMachineConfiguration) {
$.virtualMachineConfiguration = virtualMachineConfiguration;
return this;
}
/**
* @param virtualMachineConfiguration A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder virtualMachineConfiguration(ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs virtualMachineConfiguration) {
return virtualMachineConfiguration(Output.of(virtualMachineConfiguration));
}
public ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs build() {
if ($.instanceCount == null) {
throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs", "instanceCount");
}
if ($.subnetId == null) {
throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs", "subnetId");
}
if ($.virtualMachineConfiguration == null) {
throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationArgs", "virtualMachineConfiguration");
}
return $;
}
}
}