
com.pulumi.azurenative.migrate.kotlin.outputs.ApacheTomcatWebApplicationResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.migrate.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* ApacheTomcat web application.
* @property applicationId Gets or sets the web application id.
* @property applicationName Gets or sets the web application name.
* @property applicationScratchPath Gets or sets application scratch path.
* @property bindings Gets or sets the bindings for the application.
* @property configurations Gets or sets application configuration.
* @property directories Gets or sets application directories.
* @property discoveredFrameworks Gets or sets the discovered frameworks of application.
* @property displayName Gets or sets the display name.
* @property limits Resource Requirements.
* @property path Second level entity for virtual directories.
* @property primaryFramework Framework specific data for a web application.
* @property requests Resource Requirements.
* @property webServerId Gets or sets the web server id.
* @property webServerName Gets or sets the web server name.
*/
public data class ApacheTomcatWebApplicationResponse(
public val applicationId: String? = null,
public val applicationName: String? = null,
public val applicationScratchPath: String? = null,
public val bindings: List? = null,
public val configurations: List? = null,
public val directories: List? = null,
public val discoveredFrameworks: List? = null,
public val displayName: String? = null,
public val limits: ResourceRequirementsResponse? = null,
public val path: DirectoryPathResponse? = null,
public val primaryFramework: WebApplicationFrameworkResponse? = null,
public val requests: ResourceRequirementsResponse? = null,
public val webServerId: String? = null,
public val webServerName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.migrate.outputs.ApacheTomcatWebApplicationResponse): ApacheTomcatWebApplicationResponse = ApacheTomcatWebApplicationResponse(
applicationId = javaType.applicationId().map({ args0 -> args0 }).orElse(null),
applicationName = javaType.applicationName().map({ args0 -> args0 }).orElse(null),
applicationScratchPath = javaType.applicationScratchPath().map({ args0 -> args0 }).orElse(null),
bindings = javaType.bindings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.BindingResponse.Companion.toKotlin(args0)
})
}),
configurations = javaType.configurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.WebApplicationConfigurationResponse.Companion.toKotlin(args0)
})
}),
directories = javaType.directories().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.WebApplicationDirectoryResponse.Companion.toKotlin(args0)
})
}),
discoveredFrameworks = javaType.discoveredFrameworks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.WebApplicationFrameworkResponse.Companion.toKotlin(args0)
})
}),
displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
limits = javaType.limits().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.ResourceRequirementsResponse.Companion.toKotlin(args0)
})
}).orElse(null),
path = javaType.path().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.DirectoryPathResponse.Companion.toKotlin(args0)
})
}).orElse(null),
primaryFramework = javaType.primaryFramework().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.WebApplicationFrameworkResponse.Companion.toKotlin(args0)
})
}).orElse(null),
requests = javaType.requests().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.ResourceRequirementsResponse.Companion.toKotlin(args0)
})
}).orElse(null),
webServerId = javaType.webServerId().map({ args0 -> args0 }).orElse(null),
webServerName = javaType.webServerName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy