![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardCustomContentConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardCustomContentConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCustomContentImageScalingConfiguration
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCustomContentType
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 DashboardCustomContentConfigurationArgs(
public val contentType: Output? = null,
public val contentUrl: Output? = null,
public val imageScaling: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardCustomContentConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardCustomContentConfigurationArgs.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 [DashboardCustomContentConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardCustomContentConfigurationArgsBuilder 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("vrxoeedqcansjqjg")
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("vnwinxkidnofoipq")
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("twbtnhsfodgqykke")
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("qishmjasvdqfdpnh")
public suspend fun contentType(`value`: DashboardCustomContentType?) {
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("kkghvexfggylnwbc")
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("vtntrghcuqnyrbdu")
public suspend fun imageScaling(`value`: DashboardCustomContentImageScalingConfiguration?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.imageScaling = mapped
}
internal fun build(): DashboardCustomContentConfigurationArgs =
DashboardCustomContentConfigurationArgs(
contentType = contentType,
contentUrl = contentUrl,
imageScaling = imageScaling,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy