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

com.pulumi.aws.s3tables.kotlin.inputs.TableBucketMaintenanceConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.s3tables.kotlin.inputs

import com.pulumi.aws.s3tables.inputs.TableBucketMaintenanceConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property icebergUnreferencedFileRemoval A single Iceberg unreferenced file removal settings block.
 * See `iceberg_unreferenced_file_removal` below
 */
public data class TableBucketMaintenanceConfigurationArgs(
    public val icebergUnreferencedFileRemoval: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.s3tables.inputs.TableBucketMaintenanceConfigurationArgs =
        com.pulumi.aws.s3tables.inputs.TableBucketMaintenanceConfigurationArgs.builder()
            .icebergUnreferencedFileRemoval(
                icebergUnreferencedFileRemoval.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

/**
 * Builder for [TableBucketMaintenanceConfigurationArgs].
 */
@PulumiTagMarker
public class TableBucketMaintenanceConfigurationArgsBuilder internal constructor() {
    private var icebergUnreferencedFileRemoval:
        Output? = null

    /**
     * @param value A single Iceberg unreferenced file removal settings block.
     * See `iceberg_unreferenced_file_removal` below
     */
    @JvmName("rqajtihbvdivrdto")
    public suspend fun icebergUnreferencedFileRemoval(`value`: Output) {
        this.icebergUnreferencedFileRemoval = value
    }

    /**
     * @param value A single Iceberg unreferenced file removal settings block.
     * See `iceberg_unreferenced_file_removal` below
     */
    @JvmName("hidhdgcrpgvsvhfu")
    public suspend fun icebergUnreferencedFileRemoval(`value`: TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.icebergUnreferencedFileRemoval = mapped
    }

    /**
     * @param argument A single Iceberg unreferenced file removal settings block.
     * See `iceberg_unreferenced_file_removal` below
     */
    @JvmName("irqtebbdmpvcntvh")
    public suspend fun icebergUnreferencedFileRemoval(argument: suspend TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalArgsBuilder.() -> Unit) {
        val toBeMapped =
            TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.icebergUnreferencedFileRemoval = mapped
    }

    internal fun build(): TableBucketMaintenanceConfigurationArgs =
        TableBucketMaintenanceConfigurationArgs(
            icebergUnreferencedFileRemoval = icebergUnreferencedFileRemoval ?: throw
                PulumiNullFieldException("icebergUnreferencedFileRemoval"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy