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

com.pulumi.aws.cloudfront.kotlin.inputs.FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs.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.cloudfront.kotlin.inputs

import com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property profileId
 * @property queryArg Query argument for field-level encryption query argument-profile mapping.
 */
public data class FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs(
    public val profileId: Output,
    public val queryArg: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs =
        com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs.builder()
            .profileId(profileId.applyValue({ args0 -> args0 }))
            .queryArg(queryArg.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs].
 */
@PulumiTagMarker
public class FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgsBuilder internal constructor() {
    private var profileId: Output? = null

    private var queryArg: Output? = null

    /**
     * @param value
     */
    @JvmName("jyukqknahlrqbjtk")
    public suspend fun profileId(`value`: Output) {
        this.profileId = value
    }

    /**
     * @param value Query argument for field-level encryption query argument-profile mapping.
     */
    @JvmName("sbsciskfriprmtom")
    public suspend fun queryArg(`value`: Output) {
        this.queryArg = value
    }

    /**
     * @param value
     */
    @JvmName("lvxekmsarpyamkly")
    public suspend fun profileId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.profileId = mapped
    }

    /**
     * @param value Query argument for field-level encryption query argument-profile mapping.
     */
    @JvmName("whtnvayhciusqihh")
    public suspend fun queryArg(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.queryArg = mapped
    }

    internal fun build(): FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs =
        FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs(
            profileId = profileId ?: throw PulumiNullFieldException("profileId"),
            queryArg = queryArg ?: throw PulumiNullFieldException("queryArg"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy