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

com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs.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.integrationconnectors.kotlin.inputs

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

/**
 *
 * @property audience Value for the "aud" claim.
 * The `oauth2_client_credentials` block supports:
 * @property issuer Value for the "iss" claim.
 * @property subject Value for the "sub" claim.
 */
public data class ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs(
    public val audience: Output? = null,
    public val issuer: Output? = null,
    public val subject: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs =
        com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs.builder()
            .audience(audience?.applyValue({ args0 -> args0 }))
            .issuer(issuer?.applyValue({ args0 -> args0 }))
            .subject(subject?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs].
 */
@PulumiTagMarker
public class ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgsBuilder internal constructor() {
    private var audience: Output? = null

    private var issuer: Output? = null

    private var subject: Output? = null

    /**
     * @param value Value for the "aud" claim.
     * The `oauth2_client_credentials` block supports:
     */
    @JvmName("wpeadvqrksvjhgyc")
    public suspend fun audience(`value`: Output) {
        this.audience = value
    }

    /**
     * @param value Value for the "iss" claim.
     */
    @JvmName("fomxexulpmhjmhmg")
    public suspend fun issuer(`value`: Output) {
        this.issuer = value
    }

    /**
     * @param value Value for the "sub" claim.
     */
    @JvmName("cxtxkfsftdjgkunf")
    public suspend fun subject(`value`: Output) {
        this.subject = value
    }

    /**
     * @param value Value for the "aud" claim.
     * The `oauth2_client_credentials` block supports:
     */
    @JvmName("vlrhbfynnunxlqdb")
    public suspend fun audience(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.audience = mapped
    }

    /**
     * @param value Value for the "iss" claim.
     */
    @JvmName("eokauhrhastfkmsy")
    public suspend fun issuer(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.issuer = mapped
    }

    /**
     * @param value Value for the "sub" claim.
     */
    @JvmName("vowqrvxwnjkehcfy")
    public suspend fun subject(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subject = mapped
    }

    internal fun build(): ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs =
        ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs(
            audience = audience,
            issuer = issuer,
            subject = subject,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy