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

com.pulumi.gcp.certificatemanager.kotlin.inputs.CertificateManagedAuthorizationAttemptInfoArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificatemanager.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificatemanager.inputs.CertificateManagedAuthorizationAttemptInfoArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property details Human readable explanation for reaching the state. Provided to help
 * address the configuration issues.
 * Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
 * @property domain Domain name of the authorization attempt.
 * @property failureReason Reason for failure of the authorization attempt for the domain.
 * @property state State of the domain for managed certificate issuance.
 */
public data class CertificateManagedAuthorizationAttemptInfoArgs(
    public val details: Output? = null,
    public val domain: Output? = null,
    public val failureReason: Output? = null,
    public val state: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.certificatemanager.inputs.CertificateManagedAuthorizationAttemptInfoArgs =
        com.pulumi.gcp.certificatemanager.inputs.CertificateManagedAuthorizationAttemptInfoArgs.builder()
            .details(details?.applyValue({ args0 -> args0 }))
            .domain(domain?.applyValue({ args0 -> args0 }))
            .failureReason(failureReason?.applyValue({ args0 -> args0 }))
            .state(state?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CertificateManagedAuthorizationAttemptInfoArgs].
 */
@PulumiTagMarker
public class CertificateManagedAuthorizationAttemptInfoArgsBuilder internal constructor() {
    private var details: Output? = null

    private var domain: Output? = null

    private var failureReason: Output? = null

    private var state: Output? = null

    /**
     * @param value Human readable explanation for reaching the state. Provided to help
     * address the configuration issues.
     * Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
     */
    @JvmName("ovudbtmcrgoknkpp")
    public suspend fun details(`value`: Output) {
        this.details = value
    }

    /**
     * @param value Domain name of the authorization attempt.
     */
    @JvmName("lvqljyrichgnfcgc")
    public suspend fun domain(`value`: Output) {
        this.domain = value
    }

    /**
     * @param value Reason for failure of the authorization attempt for the domain.
     */
    @JvmName("bwoavjyxvlltpbvn")
    public suspend fun failureReason(`value`: Output) {
        this.failureReason = value
    }

    /**
     * @param value State of the domain for managed certificate issuance.
     */
    @JvmName("xnhphbhvltjloidr")
    public suspend fun state(`value`: Output) {
        this.state = value
    }

    /**
     * @param value Human readable explanation for reaching the state. Provided to help
     * address the configuration issues.
     * Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
     */
    @JvmName("dxpmuadfljwtbvir")
    public suspend fun details(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.details = mapped
    }

    /**
     * @param value Domain name of the authorization attempt.
     */
    @JvmName("npejxiwisiptjato")
    public suspend fun domain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domain = mapped
    }

    /**
     * @param value Reason for failure of the authorization attempt for the domain.
     */
    @JvmName("qkarmhtpahkyoedg")
    public suspend fun failureReason(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.failureReason = mapped
    }

    /**
     * @param value State of the domain for managed certificate issuance.
     */
    @JvmName("gnibgpkqcckfmkwn")
    public suspend fun state(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.state = mapped
    }

    internal fun build(): CertificateManagedAuthorizationAttemptInfoArgs =
        CertificateManagedAuthorizationAttemptInfoArgs(
            details = details,
            domain = domain,
            failureReason = failureReason,
            state = state,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy