![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.inputs.StaticSiteTemplateOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.StaticSiteTemplateOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Template Options for the static site.
* @property description Description of the newly generated repository.
* @property isPrivate Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
* @property owner Owner of the newly generated repository.
* @property repositoryName Name of the newly generated repository.
* @property templateRepositoryUrl URL of the template repository. The newly generated repository will be based on this one.
*/
public data class StaticSiteTemplateOptionsArgs(
public val description: Output? = null,
public val isPrivate: Output? = null,
public val owner: Output? = null,
public val repositoryName: Output? = null,
public val templateRepositoryUrl: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.StaticSiteTemplateOptionsArgs =
com.pulumi.azurenative.web.inputs.StaticSiteTemplateOptionsArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.isPrivate(isPrivate?.applyValue({ args0 -> args0 }))
.owner(owner?.applyValue({ args0 -> args0 }))
.repositoryName(repositoryName?.applyValue({ args0 -> args0 }))
.templateRepositoryUrl(templateRepositoryUrl?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StaticSiteTemplateOptionsArgs].
*/
@PulumiTagMarker
public class StaticSiteTemplateOptionsArgsBuilder internal constructor() {
private var description: Output? = null
private var isPrivate: Output? = null
private var owner: Output? = null
private var repositoryName: Output? = null
private var templateRepositoryUrl: Output? = null
/**
* @param value Description of the newly generated repository.
*/
@JvmName("rqfqffbwaiwkmbxv")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
*/
@JvmName("lklamedjetmdaiua")
public suspend fun isPrivate(`value`: Output) {
this.isPrivate = value
}
/**
* @param value Owner of the newly generated repository.
*/
@JvmName("olqxywqeuvbylope")
public suspend fun owner(`value`: Output) {
this.owner = value
}
/**
* @param value Name of the newly generated repository.
*/
@JvmName("jjegrvkuxmxkpfkc")
public suspend fun repositoryName(`value`: Output) {
this.repositoryName = value
}
/**
* @param value URL of the template repository. The newly generated repository will be based on this one.
*/
@JvmName("srcblhpbajyyobbg")
public suspend fun templateRepositoryUrl(`value`: Output) {
this.templateRepositoryUrl = value
}
/**
* @param value Description of the newly generated repository.
*/
@JvmName("vanbffkixrlavjkc")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
*/
@JvmName("umoseeoeikfbigub")
public suspend fun isPrivate(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isPrivate = mapped
}
/**
* @param value Owner of the newly generated repository.
*/
@JvmName("odphaquvcditbagj")
public suspend fun owner(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.owner = mapped
}
/**
* @param value Name of the newly generated repository.
*/
@JvmName("pretcalgudnehmdt")
public suspend fun repositoryName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.repositoryName = mapped
}
/**
* @param value URL of the template repository. The newly generated repository will be based on this one.
*/
@JvmName("qlaicraxmsfnqeuo")
public suspend fun templateRepositoryUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.templateRepositoryUrl = mapped
}
internal fun build(): StaticSiteTemplateOptionsArgs = StaticSiteTemplateOptionsArgs(
description = description,
isPrivate = isPrivate,
owner = owner,
repositoryName = repositoryName,
templateRepositoryUrl = templateRepositoryUrl,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy