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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateCustomContentConfigurationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.TemplateCustomContentConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateCustomContentImageScalingConfiguration
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateCustomContentType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property contentType The content type of the custom content visual. You can use this to have the visual render as an image.
 * @property contentUrl The input URL that links to the custom content that you want in the custom visual.
 * @property imageScaling The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` .
 */
public data class TemplateCustomContentConfigurationArgs(
    public val contentType: Output? = null,
    public val contentUrl: Output? = null,
    public val imageScaling: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateCustomContentConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateCustomContentConfigurationArgs.builder()
            .contentType(contentType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .contentUrl(contentUrl?.applyValue({ args0 -> args0 }))
            .imageScaling(imageScaling?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateCustomContentConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateCustomContentConfigurationArgsBuilder internal constructor() {
    private var contentType: Output? = null

    private var contentUrl: Output? = null

    private var imageScaling: Output? = null

    /**
     * @param value The content type of the custom content visual. You can use this to have the visual render as an image.
     */
    @JvmName("qnytwgvjnqdqpnwp")
    public suspend fun contentType(`value`: Output) {
        this.contentType = value
    }

    /**
     * @param value The input URL that links to the custom content that you want in the custom visual.
     */
    @JvmName("mmnfnuklyljrsbiv")
    public suspend fun contentUrl(`value`: Output) {
        this.contentUrl = value
    }

    /**
     * @param value The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` .
     */
    @JvmName("eprngkejiwfvldsv")
    public suspend fun imageScaling(`value`: Output) {
        this.imageScaling = value
    }

    /**
     * @param value The content type of the custom content visual. You can use this to have the visual render as an image.
     */
    @JvmName("ypdaiwuqednksyua")
    public suspend fun contentType(`value`: TemplateCustomContentType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentType = mapped
    }

    /**
     * @param value The input URL that links to the custom content that you want in the custom visual.
     */
    @JvmName("sqocvmdxibvsqjis")
    public suspend fun contentUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentUrl = mapped
    }

    /**
     * @param value The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` .
     */
    @JvmName("atbsjbuwihoukuln")
    public suspend fun imageScaling(`value`: TemplateCustomContentImageScalingConfiguration?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.imageScaling = mapped
    }

    internal fun build(): TemplateCustomContentConfigurationArgs =
        TemplateCustomContentConfigurationArgs(
            contentType = contentType,
            contentUrl = contentUrl,
            imageScaling = imageScaling,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy