
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisCustomContentConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisCustomContentImageScalingConfiguration
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisCustomContentType
import kotlin.String
import kotlin.Suppress
/**
*
* @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 AnalysisCustomContentConfiguration(
public val contentType: AnalysisCustomContentType? = null,
public val contentUrl: String? = null,
public val imageScaling: AnalysisCustomContentImageScalingConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisCustomContentConfiguration): AnalysisCustomContentConfiguration = AnalysisCustomContentConfiguration(
contentType = javaType.contentType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisCustomContentType.Companion.toKotlin(args0)
})
}).orElse(null),
contentUrl = javaType.contentUrl().map({ args0 -> args0 }).orElse(null),
imageScaling = javaType.imageScaling().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisCustomContentImageScalingConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy