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

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

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

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

import com.pulumi.awsnative.batch.inputs.JobDefinitionRepositoryCredentialsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property credentialsParameter The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
 */
public data class JobDefinitionRepositoryCredentialsArgs(
    public val credentialsParameter: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionRepositoryCredentialsArgs =
        com.pulumi.awsnative.batch.inputs.JobDefinitionRepositoryCredentialsArgs.builder()
            .credentialsParameter(credentialsParameter.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobDefinitionRepositoryCredentialsArgs].
 */
@PulumiTagMarker
public class JobDefinitionRepositoryCredentialsArgsBuilder internal constructor() {
    private var credentialsParameter: Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
     */
    @JvmName("khsqxyxcjdtgspqc")
    public suspend fun credentialsParameter(`value`: Output) {
        this.credentialsParameter = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
     */
    @JvmName("dlarflmpmjjhfuvm")
    public suspend fun credentialsParameter(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.credentialsParameter = mapped
    }

    internal fun build(): JobDefinitionRepositoryCredentialsArgs =
        JobDefinitionRepositoryCredentialsArgs(
            credentialsParameter = credentialsParameter ?: throw
                PulumiNullFieldException("credentialsParameter"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy