Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.offazurespringboot.kotlin.inputs.SpringbootappsPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.offazurespringboot.kotlin.inputs
import com.pulumi.azurenative.offazurespringboot.inputs.SpringbootappsPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* The springbootapps resource definition.
* @property appName The name of SpringBootApp.
* @property appPort The application port.
* @property appType The application type, whether it is a SpringBoot app.
* @property applicationConfigurations The application configuration file list.
* @property artifactName The artifact name of SpringBootApp.
* @property bindingPorts The application binding port list.
* @property buildJdkVersion The jdk version in build.
* @property certificates The certificate file list.
* @property checksum The checksum of jar file.
* @property connectionStrings The connection string list.
* @property dependencies The dependency list.
* @property environments The environment variable list.
* @property errors The list of errors.
* @property instanceCount The total instance count the app deployed.
* @property instances The breakdown info for app instances on all the servers
* @property jarFileLocation The jar file location on the server.
* @property jvmMemoryInMB The jvm heap memory allocated.
* @property jvmOptions The jvm options.
* @property labels Resource labels
* @property lastModifiedTime Time when this springbootapps jar file was last modified.
* @property lastUpdatedTime Time when this springbootapps instance was last refreshed.
* @property machineArmIds The machine ARM id list the app belongs to.
* @property miscs The other types of date collected.
* @property runtimeJdkVersion The jdk version installed on server
* @property servers The server list the app installed
* @property springBootVersion The spring boot version.
* @property staticContentLocations The static content location list.
*/
public data class SpringbootappsPropertiesArgs(
public val appName: Output? = null,
public val appPort: Output? = null,
public val appType: Output? = null,
public val applicationConfigurations: Output>? = null,
public val artifactName: Output? = null,
public val bindingPorts: Output>? = null,
public val buildJdkVersion: Output? = null,
public val certificates: Output>? = null,
public val checksum: Output? = null,
public val connectionStrings: Output>? = null,
public val dependencies: Output>? = null,
public val environments: Output>? = null,
public val errors: Output>? = null,
public val instanceCount: Output? = null,
public val instances: Output>? = null,
public val jarFileLocation: Output? = null,
public val jvmMemoryInMB: Output? = null,
public val jvmOptions: Output>? = null,
public val labels: Output>? = null,
public val lastModifiedTime: Output? = null,
public val lastUpdatedTime: Output? = null,
public val machineArmIds: Output>? = null,
public val miscs: Output>? = null,
public val runtimeJdkVersion: Output? = null,
public val servers: Output>? = null,
public val springBootVersion: Output? = null,
public val staticContentLocations: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.offazurespringboot.inputs.SpringbootappsPropertiesArgs =
com.pulumi.azurenative.offazurespringboot.inputs.SpringbootappsPropertiesArgs.builder()
.appName(appName?.applyValue({ args0 -> args0 }))
.appPort(appPort?.applyValue({ args0 -> args0 }))
.appType(appType?.applyValue({ args0 -> args0 }))
.applicationConfigurations(
applicationConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.artifactName(artifactName?.applyValue({ args0 -> args0 }))
.bindingPorts(bindingPorts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.buildJdkVersion(buildJdkVersion?.applyValue({ args0 -> args0 }))
.certificates(certificates?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.checksum(checksum?.applyValue({ args0 -> args0 }))
.connectionStrings(connectionStrings?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.dependencies(dependencies?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.environments(environments?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.errors(errors?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.instanceCount(instanceCount?.applyValue({ args0 -> args0 }))
.instances(
instances?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.jarFileLocation(jarFileLocation?.applyValue({ args0 -> args0 }))
.jvmMemoryInMB(jvmMemoryInMB?.applyValue({ args0 -> args0 }))
.jvmOptions(jvmOptions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
.lastModifiedTime(lastModifiedTime?.applyValue({ args0 -> args0 }))
.lastUpdatedTime(lastUpdatedTime?.applyValue({ args0 -> args0 }))
.machineArmIds(machineArmIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.miscs(miscs?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.runtimeJdkVersion(runtimeJdkVersion?.applyValue({ args0 -> args0 }))
.servers(servers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.springBootVersion(springBootVersion?.applyValue({ args0 -> args0 }))
.staticContentLocations(
staticContentLocations?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [SpringbootappsPropertiesArgs].
*/
@PulumiTagMarker
public class SpringbootappsPropertiesArgsBuilder internal constructor() {
private var appName: Output? = null
private var appPort: Output? = null
private var appType: Output? = null
private var applicationConfigurations:
Output>? = null
private var artifactName: Output? = null
private var bindingPorts: Output>? = null
private var buildJdkVersion: Output? = null
private var certificates: Output>? = null
private var checksum: Output? = null
private var connectionStrings: Output>? = null
private var dependencies: Output>? = null
private var environments: Output>? = null
private var errors: Output>? = null
private var instanceCount: Output? = null
private var instances: Output>? = null
private var jarFileLocation: Output? = null
private var jvmMemoryInMB: Output? = null
private var jvmOptions: Output>? = null
private var labels: Output>? = null
private var lastModifiedTime: Output? = null
private var lastUpdatedTime: Output? = null
private var machineArmIds: Output>? = null
private var miscs: Output>? = null
private var runtimeJdkVersion: Output? = null
private var servers: Output>? = null
private var springBootVersion: Output? = null
private var staticContentLocations: Output>? = null
/**
* @param value The name of SpringBootApp.
*/
@JvmName("dgpewkngrovnfcan")
public suspend fun appName(`value`: Output) {
this.appName = value
}
/**
* @param value The application port.
*/
@JvmName("yigaeesycmuivkwd")
public suspend fun appPort(`value`: Output) {
this.appPort = value
}
/**
* @param value The application type, whether it is a SpringBoot app.
*/
@JvmName("afewuwumjbcbxusb")
public suspend fun appType(`value`: Output) {
this.appType = value
}
/**
* @param value The application configuration file list.
*/
@JvmName("ysncjdrdepwvtbcp")
public suspend fun applicationConfigurations(`value`: Output>) {
this.applicationConfigurations = value
}
@JvmName("cqyfxnmdiaqskogk")
public suspend fun applicationConfigurations(vararg values: Output) {
this.applicationConfigurations = Output.all(values.asList())
}
/**
* @param values The application configuration file list.
*/
@JvmName("yftkutbplmhdrfsh")
public suspend fun applicationConfigurations(values: List>) {
this.applicationConfigurations = Output.all(values)
}
/**
* @param value The artifact name of SpringBootApp.
*/
@JvmName("qdyqxbqbbhcwerrj")
public suspend fun artifactName(`value`: Output) {
this.artifactName = value
}
/**
* @param value The application binding port list.
*/
@JvmName("ntkstskldyjjimyh")
public suspend fun bindingPorts(`value`: Output>) {
this.bindingPorts = value
}
@JvmName("mpbmrlxqdsgknfqh")
public suspend fun bindingPorts(vararg values: Output) {
this.bindingPorts = Output.all(values.asList())
}
/**
* @param values The application binding port list.
*/
@JvmName("gboqrxjgdqrstuua")
public suspend fun bindingPorts(values: List>) {
this.bindingPorts = Output.all(values)
}
/**
* @param value The jdk version in build.
*/
@JvmName("jcgvglscuoahahyv")
public suspend fun buildJdkVersion(`value`: Output) {
this.buildJdkVersion = value
}
/**
* @param value The certificate file list.
*/
@JvmName("xvhbocftnhxsnoxi")
public suspend fun certificates(`value`: Output>) {
this.certificates = value
}
@JvmName("xbfiiqldybnnivbh")
public suspend fun certificates(vararg values: Output) {
this.certificates = Output.all(values.asList())
}
/**
* @param values The certificate file list.
*/
@JvmName("uutpjhdmcchnhtkv")
public suspend fun certificates(values: List>) {
this.certificates = Output.all(values)
}
/**
* @param value The checksum of jar file.
*/
@JvmName("oseicvspxlmolvbb")
public suspend fun checksum(`value`: Output) {
this.checksum = value
}
/**
* @param value The connection string list.
*/
@JvmName("nleaufqfflopwgtm")
public suspend fun connectionStrings(`value`: Output>) {
this.connectionStrings = value
}
@JvmName("tivwyronhfychtwo")
public suspend fun connectionStrings(vararg values: Output) {
this.connectionStrings = Output.all(values.asList())
}
/**
* @param values The connection string list.
*/
@JvmName("nwehejdfwullsxwo")
public suspend fun connectionStrings(values: List>) {
this.connectionStrings = Output.all(values)
}
/**
* @param value The dependency list.
*/
@JvmName("sbwfhjgytkqrsfgb")
public suspend fun dependencies(`value`: Output>) {
this.dependencies = value
}
@JvmName("tglcvepijffsybfc")
public suspend fun dependencies(vararg values: Output) {
this.dependencies = Output.all(values.asList())
}
/**
* @param values The dependency list.
*/
@JvmName("mcmdtrnrqifaidyq")
public suspend fun dependencies(values: List>) {
this.dependencies = Output.all(values)
}
/**
* @param value The environment variable list.
*/
@JvmName("bnucjgucopqmwogj")
public suspend fun environments(`value`: Output>) {
this.environments = value
}
@JvmName("kildnhkxnlivekfe")
public suspend fun environments(vararg values: Output) {
this.environments = Output.all(values.asList())
}
/**
* @param values The environment variable list.
*/
@JvmName("iljphkfjppscobya")
public suspend fun environments(values: List>) {
this.environments = Output.all(values)
}
/**
* @param value The list of errors.
*/
@JvmName("qbhyykfvtpgvndmf")
public suspend fun errors(`value`: Output>) {
this.errors = value
}
@JvmName("hqbleylyditmsisj")
public suspend fun errors(vararg values: Output) {
this.errors = Output.all(values.asList())
}
/**
* @param values The list of errors.
*/
@JvmName("biptylmscabcndcg")
public suspend fun errors(values: List>) {
this.errors = Output.all(values)
}
/**
* @param value The total instance count the app deployed.
*/
@JvmName("kbfossbjryjbawls")
public suspend fun instanceCount(`value`: Output) {
this.instanceCount = value
}
/**
* @param value The breakdown info for app instances on all the servers
*/
@JvmName("yreqkabqsywbckqt")
public suspend fun instances(`value`: Output>) {
this.instances = value
}
@JvmName("ofrywtdfmwhylaqk")
public suspend fun instances(vararg values: Output) {
this.instances = Output.all(values.asList())
}
/**
* @param values The breakdown info for app instances on all the servers
*/
@JvmName("qafgpdxqlqmixefc")
public suspend fun instances(values: List>) {
this.instances = Output.all(values)
}
/**
* @param value The jar file location on the server.
*/
@JvmName("drmpybeqhdaexyvw")
public suspend fun jarFileLocation(`value`: Output) {
this.jarFileLocation = value
}
/**
* @param value The jvm heap memory allocated.
*/
@JvmName("wstdatakyroywyks")
public suspend fun jvmMemoryInMB(`value`: Output) {
this.jvmMemoryInMB = value
}
/**
* @param value The jvm options.
*/
@JvmName("yeseyjjnvdfqiulp")
public suspend fun jvmOptions(`value`: Output>) {
this.jvmOptions = value
}
@JvmName("sbrcfmmoddrwlotv")
public suspend fun jvmOptions(vararg values: Output) {
this.jvmOptions = Output.all(values.asList())
}
/**
* @param values The jvm options.
*/
@JvmName("ascwueklgwivptfs")
public suspend fun jvmOptions(values: List>) {
this.jvmOptions = Output.all(values)
}
/**
* @param value Resource labels
*/
@JvmName("ewcmndaohukhwusg")
public suspend fun labels(`value`: Output>) {
this.labels = value
}
/**
* @param value Time when this springbootapps jar file was last modified.
*/
@JvmName("nfhobmshmgpfsqcr")
public suspend fun lastModifiedTime(`value`: Output) {
this.lastModifiedTime = value
}
/**
* @param value Time when this springbootapps instance was last refreshed.
*/
@JvmName("tgmrfhybyvcpvaaj")
public suspend fun lastUpdatedTime(`value`: Output) {
this.lastUpdatedTime = value
}
/**
* @param value The machine ARM id list the app belongs to.
*/
@JvmName("itewuvtbgjddawyu")
public suspend fun machineArmIds(`value`: Output>) {
this.machineArmIds = value
}
@JvmName("qarkodqfrfjmcvob")
public suspend fun machineArmIds(vararg values: Output) {
this.machineArmIds = Output.all(values.asList())
}
/**
* @param values The machine ARM id list the app belongs to.
*/
@JvmName("qwoiayklhliutfiv")
public suspend fun machineArmIds(values: List>) {
this.machineArmIds = Output.all(values)
}
/**
* @param value The other types of date collected.
*/
@JvmName("rapcvfkhqkwcvfjm")
public suspend fun miscs(`value`: Output>) {
this.miscs = value
}
@JvmName("epbnhujygsafkdys")
public suspend fun miscs(vararg values: Output) {
this.miscs = Output.all(values.asList())
}
/**
* @param values The other types of date collected.
*/
@JvmName("nriejduhkliqtiyt")
public suspend fun miscs(values: List>) {
this.miscs = Output.all(values)
}
/**
* @param value The jdk version installed on server
*/
@JvmName("vhabdichtholjdhu")
public suspend fun runtimeJdkVersion(`value`: Output) {
this.runtimeJdkVersion = value
}
/**
* @param value The server list the app installed
*/
@JvmName("sqybwyoadqjmgyyq")
public suspend fun servers(`value`: Output>) {
this.servers = value
}
@JvmName("tgcsvavqfukavega")
public suspend fun servers(vararg values: Output) {
this.servers = Output.all(values.asList())
}
/**
* @param values The server list the app installed
*/
@JvmName("ruonfcyvumlhaiwh")
public suspend fun servers(values: List>) {
this.servers = Output.all(values)
}
/**
* @param value The spring boot version.
*/
@JvmName("ueihhvcolomwkoit")
public suspend fun springBootVersion(`value`: Output) {
this.springBootVersion = value
}
/**
* @param value The static content location list.
*/
@JvmName("kagriuwgjbkwcpwq")
public suspend fun staticContentLocations(`value`: Output>) {
this.staticContentLocations = value
}
@JvmName("tbudqnnhpstidnpl")
public suspend fun staticContentLocations(vararg values: Output) {
this.staticContentLocations = Output.all(values.asList())
}
/**
* @param values The static content location list.
*/
@JvmName("wsdxoatawvvsxqmo")
public suspend fun staticContentLocations(values: List>) {
this.staticContentLocations = Output.all(values)
}
/**
* @param value The name of SpringBootApp.
*/
@JvmName("awtpjbljpyigptuc")
public suspend fun appName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appName = mapped
}
/**
* @param value The application port.
*/
@JvmName("xtcrjogpmfetgmfs")
public suspend fun appPort(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appPort = mapped
}
/**
* @param value The application type, whether it is a SpringBoot app.
*/
@JvmName("xnjtavkhttsmlwcr")
public suspend fun appType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appType = mapped
}
/**
* @param value The application configuration file list.
*/
@JvmName("kgwqqsggqtfxwyvx")
public suspend fun applicationConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationConfigurations = mapped
}
/**
* @param argument The application configuration file list.
*/
@JvmName("ggiqdrnvlkaccvtg")
public suspend fun applicationConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
SpringbootappsPropertiesApplicationConfigurationsArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.applicationConfigurations = mapped
}
/**
* @param argument The application configuration file list.
*/
@JvmName("lklaraxabqhlmtaw")
public suspend fun applicationConfigurations(vararg argument: suspend SpringbootappsPropertiesApplicationConfigurationsArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
SpringbootappsPropertiesApplicationConfigurationsArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.applicationConfigurations = mapped
}
/**
* @param argument The application configuration file list.
*/
@JvmName("dmnigwcgntvmbkae")
public suspend fun applicationConfigurations(argument: suspend SpringbootappsPropertiesApplicationConfigurationsArgsBuilder.() -> Unit) {
val toBeMapped =
listOf(
SpringbootappsPropertiesApplicationConfigurationsArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.applicationConfigurations = mapped
}
/**
* @param values The application configuration file list.
*/
@JvmName("gcboqpmsxhxpjrdp")
public suspend fun applicationConfigurations(vararg values: SpringbootappsPropertiesApplicationConfigurationsArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.applicationConfigurations = mapped
}
/**
* @param value The artifact name of SpringBootApp.
*/
@JvmName("wpdochgrxfnbjsmg")
public suspend fun artifactName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.artifactName = mapped
}
/**
* @param value The application binding port list.
*/
@JvmName("ghlsorelbtqrgyqa")
public suspend fun bindingPorts(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bindingPorts = mapped
}
/**
* @param values The application binding port list.
*/
@JvmName("pnhkafkjyjbgvjmy")
public suspend fun bindingPorts(vararg values: Int) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.bindingPorts = mapped
}
/**
* @param value The jdk version in build.
*/
@JvmName("piuritwcvdhrswvy")
public suspend fun buildJdkVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.buildJdkVersion = mapped
}
/**
* @param value The certificate file list.
*/
@JvmName("vhfwtswqfaakrdnw")
public suspend fun certificates(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificates = mapped
}
/**
* @param values The certificate file list.
*/
@JvmName("owetyfmslwfnhvnt")
public suspend fun certificates(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.certificates = mapped
}
/**
* @param value The checksum of jar file.
*/
@JvmName("yytoptrkpmqldwkl")
public suspend fun checksum(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.checksum = mapped
}
/**
* @param value The connection string list.
*/
@JvmName("aasthjgpqqkninho")
public suspend fun connectionStrings(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.connectionStrings = mapped
}
/**
* @param values The connection string list.
*/
@JvmName("dulnwmufyadbmtyt")
public suspend fun connectionStrings(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.connectionStrings = mapped
}
/**
* @param value The dependency list.
*/
@JvmName("rdtsykdgfqsytqoa")
public suspend fun dependencies(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dependencies = mapped
}
/**
* @param values The dependency list.
*/
@JvmName("qcuhtullgtvjhcnh")
public suspend fun dependencies(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dependencies = mapped
}
/**
* @param value The environment variable list.
*/
@JvmName("ywcbsyttgtnbsrtl")
public suspend fun environments(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.environments = mapped
}
/**
* @param values The environment variable list.
*/
@JvmName("bldcoafbiebjxhtw")
public suspend fun environments(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.environments = mapped
}
/**
* @param value The list of errors.
*/
@JvmName("ifmcodemweaxjpyk")
public suspend fun errors(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.errors = mapped
}
/**
* @param argument The list of errors.
*/
@JvmName("gsohkbjcttvgntjy")
public suspend fun errors(argument: List Unit>) {
val toBeMapped = argument.toList().map { ErrorArgsBuilder().applySuspend { it() }.build() }
val mapped = of(toBeMapped)
this.errors = mapped
}
/**
* @param argument The list of errors.
*/
@JvmName("kqfmdtxolkcriflv")
public suspend fun errors(vararg argument: suspend ErrorArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map { ErrorArgsBuilder().applySuspend { it() }.build() }
val mapped = of(toBeMapped)
this.errors = mapped
}
/**
* @param argument The list of errors.
*/
@JvmName("jhkdyddkxwvcwfbn")
public suspend fun errors(argument: suspend ErrorArgsBuilder.() -> Unit) {
val toBeMapped = listOf(ErrorArgsBuilder().applySuspend { argument() }.build())
val mapped = of(toBeMapped)
this.errors = mapped
}
/**
* @param values The list of errors.
*/
@JvmName("veqgufbphmodynql")
public suspend fun errors(vararg values: ErrorArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.errors = mapped
}
/**
* @param value The total instance count the app deployed.
*/
@JvmName("ievbylogbfeitbvq")
public suspend fun instanceCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instanceCount = mapped
}
/**
* @param value The breakdown info for app instances on all the servers
*/
@JvmName("ukqmtocfeistnrsk")
public suspend fun instances(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instances = mapped
}
/**
* @param argument The breakdown info for app instances on all the servers
*/
@JvmName("mmftkocchmxbcnud")
public suspend fun instances(argument: List Unit>) {
val toBeMapped = argument.toList().map {
SpringbootappsPropertiesInstancesArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.instances = mapped
}
/**
* @param argument The breakdown info for app instances on all the servers
*/
@JvmName("mmkxlwctcauxcqeo")
public suspend fun instances(vararg argument: suspend SpringbootappsPropertiesInstancesArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
SpringbootappsPropertiesInstancesArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.instances = mapped
}
/**
* @param argument The breakdown info for app instances on all the servers
*/
@JvmName("yrudaxfpmditvkqf")
public suspend fun instances(argument: suspend SpringbootappsPropertiesInstancesArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
SpringbootappsPropertiesInstancesArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.instances = mapped
}
/**
* @param values The breakdown info for app instances on all the servers
*/
@JvmName("cceemwttwgsukvyd")
public suspend fun instances(vararg values: SpringbootappsPropertiesInstancesArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.instances = mapped
}
/**
* @param value The jar file location on the server.
*/
@JvmName("ntgwunfhqoglmxlh")
public suspend fun jarFileLocation(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jarFileLocation = mapped
}
/**
* @param value The jvm heap memory allocated.
*/
@JvmName("jlvfoptersnnmeqf")
public suspend fun jvmMemoryInMB(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jvmMemoryInMB = mapped
}
/**
* @param value The jvm options.
*/
@JvmName("eraeijqximqipjpd")
public suspend fun jvmOptions(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jvmOptions = mapped
}
/**
* @param values The jvm options.
*/
@JvmName("gofanxxxkfxvswtv")
public suspend fun jvmOptions(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.jvmOptions = mapped
}
/**
* @param value Resource labels
*/
@JvmName("tituiovmiytvlqgo")
public suspend fun labels(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.labels = mapped
}
/**
* @param values Resource labels
*/
@JvmName("ytgewmdlnadkuuse")
public fun labels(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.labels = mapped
}
/**
* @param value Time when this springbootapps jar file was last modified.
*/
@JvmName("gpwrgkmpxpwjnevc")
public suspend fun lastModifiedTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lastModifiedTime = mapped
}
/**
* @param value Time when this springbootapps instance was last refreshed.
*/
@JvmName("nxfkkysshaotpyhx")
public suspend fun lastUpdatedTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lastUpdatedTime = mapped
}
/**
* @param value The machine ARM id list the app belongs to.
*/
@JvmName("pgmaceuysgoqlkgh")
public suspend fun machineArmIds(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.machineArmIds = mapped
}
/**
* @param values The machine ARM id list the app belongs to.
*/
@JvmName("dljftngfdeqnjyqr")
public suspend fun machineArmIds(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.machineArmIds = mapped
}
/**
* @param value The other types of date collected.
*/
@JvmName("lswlxvwvvhiaktln")
public suspend fun miscs(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.miscs = mapped
}
/**
* @param argument The other types of date collected.
*/
@JvmName("tdbjaqsqmaxtlbbt")
public suspend fun miscs(argument: List Unit>) {
val toBeMapped = argument.toList().map {
SpringbootappsPropertiesMiscsArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.miscs = mapped
}
/**
* @param argument The other types of date collected.
*/
@JvmName("lthajhilongcanpk")
public suspend fun miscs(vararg argument: suspend SpringbootappsPropertiesMiscsArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
SpringbootappsPropertiesMiscsArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.miscs = mapped
}
/**
* @param argument The other types of date collected.
*/
@JvmName("tmwwjqlguotyujor")
public suspend fun miscs(argument: suspend SpringbootappsPropertiesMiscsArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
SpringbootappsPropertiesMiscsArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.miscs = mapped
}
/**
* @param values The other types of date collected.
*/
@JvmName("yrjcrpujtjrjvfyw")
public suspend fun miscs(vararg values: SpringbootappsPropertiesMiscsArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.miscs = mapped
}
/**
* @param value The jdk version installed on server
*/
@JvmName("rlvhfcuiqiopuuix")
public suspend fun runtimeJdkVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.runtimeJdkVersion = mapped
}
/**
* @param value The server list the app installed
*/
@JvmName("saohjqehypohfcdu")
public suspend fun servers(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.servers = mapped
}
/**
* @param values The server list the app installed
*/
@JvmName("qemtdoiqnymhiypx")
public suspend fun servers(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.servers = mapped
}
/**
* @param value The spring boot version.
*/
@JvmName("qgjjenothkycrypk")
public suspend fun springBootVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.springBootVersion = mapped
}
/**
* @param value The static content location list.
*/
@JvmName("tdtdrpbufswytxdu")
public suspend fun staticContentLocations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.staticContentLocations = mapped
}
/**
* @param values The static content location list.
*/
@JvmName("rajyfjyxwghgfdjw")
public suspend fun staticContentLocations(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.staticContentLocations = mapped
}
internal fun build(): SpringbootappsPropertiesArgs = SpringbootappsPropertiesArgs(
appName = appName,
appPort = appPort,
appType = appType,
applicationConfigurations = applicationConfigurations,
artifactName = artifactName,
bindingPorts = bindingPorts,
buildJdkVersion = buildJdkVersion,
certificates = certificates,
checksum = checksum,
connectionStrings = connectionStrings,
dependencies = dependencies,
environments = environments,
errors = errors,
instanceCount = instanceCount,
instances = instances,
jarFileLocation = jarFileLocation,
jvmMemoryInMB = jvmMemoryInMB,
jvmOptions = jvmOptions,
labels = labels,
lastModifiedTime = lastModifiedTime,
lastUpdatedTime = lastUpdatedTime,
machineArmIds = machineArmIds,
miscs = miscs,
runtimeJdkVersion = runtimeJdkVersion,
servers = servers,
springBootVersion = springBootVersion,
staticContentLocations = staticContentLocations,
)
}