com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs.CustomResourceColumnDefinitionPatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.apiextensions.v1.inputs.CustomResourceColumnDefinitionPatchArgs.builder
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* CustomResourceColumnDefinition specifies a column for server side printing.
* @property description description is a human readable description of this column.
* @property format format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
* @property jsonPath jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
* @property name name is a human readable name for the column.
* @property priority priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
* @property type type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
*/
public data class CustomResourceColumnDefinitionPatchArgs(
public val description: Output? = null,
public val format: Output? = null,
public val jsonPath: Output? = null,
public val name: Output? = null,
public val priority: Output? = null,
public val type: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.apiextensions.v1.inputs.CustomResourceColumnDefinitionPatchArgs =
com.pulumi.kubernetes.apiextensions.v1.inputs.CustomResourceColumnDefinitionPatchArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.format(format?.applyValue({ args0 -> args0 }))
.jsonPath(jsonPath?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.priority(priority?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomResourceColumnDefinitionPatchArgs].
*/
@PulumiTagMarker
public class CustomResourceColumnDefinitionPatchArgsBuilder internal constructor() {
private var description: Output? = null
private var format: Output? = null
private var jsonPath: Output? = null
private var name: Output? = null
private var priority: Output? = null
private var type: Output? = null
/**
* @param value description is a human readable description of this column.
*/
@JvmName("npuorlfklxswycgc")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
*/
@JvmName("ogcnvoqtasernyjd")
public suspend fun format(`value`: Output) {
this.format = value
}
/**
* @param value jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
*/
@JvmName("qwwluyopqluesbis")
public suspend fun jsonPath(`value`: Output) {
this.jsonPath = value
}
/**
* @param value name is a human readable name for the column.
*/
@JvmName("lijyovuaiyyvpmjd")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
*/
@JvmName("objatloyonaanrgp")
public suspend fun priority(`value`: Output) {
this.priority = value
}
/**
* @param value type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
*/
@JvmName("lrgdxilwdtqfqcco")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value description is a human readable description of this column.
*/
@JvmName("dtyxrluksjdfmkwo")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
*/
@JvmName("oybbhjomjhvyrpct")
public suspend fun format(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.format = mapped
}
/**
* @param value jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
*/
@JvmName("wydragfopcuyfkfk")
public suspend fun jsonPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jsonPath = mapped
}
/**
* @param value name is a human readable name for the column.
*/
@JvmName("njrdpvkivkxtciij")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
*/
@JvmName("ystkljlkwidthyot")
public suspend fun priority(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.priority = mapped
}
/**
* @param value type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
*/
@JvmName("eygdaxkbpfmmfbgg")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): CustomResourceColumnDefinitionPatchArgs =
CustomResourceColumnDefinitionPatchArgs(
description = description,
format = format,
jsonPath = jsonPath,
name = name,
priority = priority,
type = type,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy