All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.storage.kotlin.outputs.BucketWebsite.kt Maven / Gradle / Ivy

@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 - 2024 Weber Informatics LLC | Privacy Policy