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

com.pulumi.cloudflare.kotlin.ZeroTrustKeyAccessKeyConfigurationArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin

import com.pulumi.cloudflare.ZeroTrustKeyAccessKeyConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Access Keys Configuration defines the rotation policy for the keys
 * that access will use to sign data.
 * @property accountId The account identifier to target for the resource.
 * @property keyRotationIntervalDays Number of days to trigger a rotation of the keys.
 */
public data class ZeroTrustKeyAccessKeyConfigurationArgs(
    public val accountId: Output? = null,
    public val keyRotationIntervalDays: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.ZeroTrustKeyAccessKeyConfigurationArgs =
        com.pulumi.cloudflare.ZeroTrustKeyAccessKeyConfigurationArgs.builder()
            .accountId(accountId?.applyValue({ args0 -> args0 }))
            .keyRotationIntervalDays(keyRotationIntervalDays?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZeroTrustKeyAccessKeyConfigurationArgs].
 */
@PulumiTagMarker
public class ZeroTrustKeyAccessKeyConfigurationArgsBuilder internal constructor() {
    private var accountId: Output? = null

    private var keyRotationIntervalDays: Output? = null

    /**
     * @param value The account identifier to target for the resource.
     */
    @JvmName("faghktqfgaswramh")
    public suspend fun accountId(`value`: Output) {
        this.accountId = value
    }

    /**
     * @param value Number of days to trigger a rotation of the keys.
     */
    @JvmName("vlqystibyvnwktcu")
    public suspend fun keyRotationIntervalDays(`value`: Output) {
        this.keyRotationIntervalDays = value
    }

    /**
     * @param value The account identifier to target for the resource.
     */
    @JvmName("uuytdptbydqqqfig")
    public suspend fun accountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountId = mapped
    }

    /**
     * @param value Number of days to trigger a rotation of the keys.
     */
    @JvmName("mhxcnpdcldvhpyea")
    public suspend fun keyRotationIntervalDays(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyRotationIntervalDays = mapped
    }

    internal fun build(): ZeroTrustKeyAccessKeyConfigurationArgs =
        ZeroTrustKeyAccessKeyConfigurationArgs(
            accountId = accountId,
            keyRotationIntervalDays = keyRotationIntervalDays,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy