com.pulumi.gcp.storage.kotlin.outputs.BucketWebsite.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property mainPageSuffix Behaves as the bucket's directory index where
* missing objects are treated as potential directories.
* @property notFoundPage The custom object to return when a requested
* resource is not found.
*/
public data class BucketWebsite(
public val mainPageSuffix: String? = null,
public val notFoundPage: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.BucketWebsite): BucketWebsite =
BucketWebsite(
mainPageSuffix = javaType.mainPageSuffix().map({ args0 -> args0 }).orElse(null),
notFoundPage = javaType.notFoundPage().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy