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

com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionMetadataArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.batch.kotlin.inputs

import com.pulumi.awsnative.batch.inputs.JobDefinitionMetadataArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property labels Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
 */
public data class JobDefinitionMetadataArgs(
    public val labels: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionMetadataArgs =
        com.pulumi.awsnative.batch.inputs.JobDefinitionMetadataArgs.builder()
            .labels(labels?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobDefinitionMetadataArgs].
 */
@PulumiTagMarker
public class JobDefinitionMetadataArgsBuilder internal constructor() {
    private var labels: Output? = null

    /**
     * @param value Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
     */
    @JvmName("cmiwfapbhoppakpi")
    public suspend fun labels(`value`: Output) {
        this.labels = value
    }

    /**
     * @param value Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
     */
    @JvmName("gxhcepbbnthhcmus")
    public suspend fun labels(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labels = mapped
    }

    internal fun build(): JobDefinitionMetadataArgs = JobDefinitionMetadataArgs(
        labels = labels,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy