com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisCustomContentConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisCustomContentConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisCustomContentImageScalingConfiguration
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisCustomContentType
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 AnalysisCustomContentConfigurationArgs(
public val contentType: Output? = null,
public val contentUrl: Output? = null,
public val imageScaling: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisCustomContentConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisCustomContentConfigurationArgs.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 [AnalysisCustomContentConfigurationArgs].
*/
@PulumiTagMarker
public class AnalysisCustomContentConfigurationArgsBuilder 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("axcivftxyywijskq")
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("hejbqxhmvqytjtpo")
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("bxoofbdyhfgpsytr")
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("yqmkiyjvlsvbgsoa")
public suspend fun contentType(`value`: AnalysisCustomContentType?) {
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("heilhjnfgpdfptni")
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("blqywbwcccqqyqtt")
public suspend fun imageScaling(`value`: AnalysisCustomContentImageScalingConfiguration?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.imageScaling = mapped
}
internal fun build(): AnalysisCustomContentConfigurationArgs =
AnalysisCustomContentConfigurationArgs(
contentType = contentType,
contentUrl = contentUrl,
imageScaling = imageScaling,
)
}