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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPivotTableFieldOption.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property customLabel The custom label of the pivot table field.
 * @property fieldId The field ID of the pivot table field.
 * @property visibility The visibility of the pivot table field.
 */
public data class AnalysisPivotTableFieldOption(
    public val customLabel: String? = null,
    public val fieldId: String,
    public val visibility: AnalysisVisibility? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisPivotTableFieldOption): AnalysisPivotTableFieldOption = AnalysisPivotTableFieldOption(
            customLabel = javaType.customLabel().map({ args0 -> args0 }).orElse(null),
            fieldId = javaType.fieldId(),
            visibility = javaType.visibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy