com.pulumi.azure.appservice.outputs.GetWindowsFunctionAppSiteConfigApplicationStack 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.appservice.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetWindowsFunctionAppSiteConfigApplicationStack {
/**
* @return The version of .Net to use.
*
*/
private String dotnetVersion;
/**
* @return The version of Java to use.
*
*/
private String javaVersion;
/**
* @return The version of Node to use.
*
*/
private String nodeVersion;
/**
* @return The version of PowerShell Core to use.
*
*/
private String powershellCoreVersion;
/**
* @return Is the Windows Function App using a custom runtime?.
*
*/
private Boolean useCustomRuntime;
private Boolean useDotnetIsolatedRuntime;
private GetWindowsFunctionAppSiteConfigApplicationStack() {}
/**
* @return The version of .Net to use.
*
*/
public String dotnetVersion() {
return this.dotnetVersion;
}
/**
* @return The version of Java to use.
*
*/
public String javaVersion() {
return this.javaVersion;
}
/**
* @return The version of Node to use.
*
*/
public String nodeVersion() {
return this.nodeVersion;
}
/**
* @return The version of PowerShell Core to use.
*
*/
public String powershellCoreVersion() {
return this.powershellCoreVersion;
}
/**
* @return Is the Windows Function App using a custom runtime?.
*
*/
public Boolean useCustomRuntime() {
return this.useCustomRuntime;
}
public Boolean useDotnetIsolatedRuntime() {
return this.useDotnetIsolatedRuntime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWindowsFunctionAppSiteConfigApplicationStack defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String dotnetVersion;
private String javaVersion;
private String nodeVersion;
private String powershellCoreVersion;
private Boolean useCustomRuntime;
private Boolean useDotnetIsolatedRuntime;
public Builder() {}
public Builder(GetWindowsFunctionAppSiteConfigApplicationStack defaults) {
Objects.requireNonNull(defaults);
this.dotnetVersion = defaults.dotnetVersion;
this.javaVersion = defaults.javaVersion;
this.nodeVersion = defaults.nodeVersion;
this.powershellCoreVersion = defaults.powershellCoreVersion;
this.useCustomRuntime = defaults.useCustomRuntime;
this.useDotnetIsolatedRuntime = defaults.useDotnetIsolatedRuntime;
}
@CustomType.Setter
public Builder dotnetVersion(String dotnetVersion) {
if (dotnetVersion == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigApplicationStack", "dotnetVersion");
}
this.dotnetVersion = dotnetVersion;
return this;
}
@CustomType.Setter
public Builder javaVersion(String javaVersion) {
if (javaVersion == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigApplicationStack", "javaVersion");
}
this.javaVersion = javaVersion;
return this;
}
@CustomType.Setter
public Builder nodeVersion(String nodeVersion) {
if (nodeVersion == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigApplicationStack", "nodeVersion");
}
this.nodeVersion = nodeVersion;
return this;
}
@CustomType.Setter
public Builder powershellCoreVersion(String powershellCoreVersion) {
if (powershellCoreVersion == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigApplicationStack", "powershellCoreVersion");
}
this.powershellCoreVersion = powershellCoreVersion;
return this;
}
@CustomType.Setter
public Builder useCustomRuntime(Boolean useCustomRuntime) {
if (useCustomRuntime == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigApplicationStack", "useCustomRuntime");
}
this.useCustomRuntime = useCustomRuntime;
return this;
}
@CustomType.Setter
public Builder useDotnetIsolatedRuntime(Boolean useDotnetIsolatedRuntime) {
if (useDotnetIsolatedRuntime == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigApplicationStack", "useDotnetIsolatedRuntime");
}
this.useDotnetIsolatedRuntime = useDotnetIsolatedRuntime;
return this;
}
public GetWindowsFunctionAppSiteConfigApplicationStack build() {
final var _resultValue = new GetWindowsFunctionAppSiteConfigApplicationStack();
_resultValue.dotnetVersion = dotnetVersion;
_resultValue.javaVersion = javaVersion;
_resultValue.nodeVersion = nodeVersion;
_resultValue.powershellCoreVersion = powershellCoreVersion;
_resultValue.useCustomRuntime = useCustomRuntime;
_resultValue.useDotnetIsolatedRuntime = useDotnetIsolatedRuntime;
return _resultValue;
}
}
}