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

com.pulumi.awsnative.imagebuilder.kotlin.inputs.ContainerRecipeTargetContainerRepositoryArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.imagebuilder.kotlin.inputs

import com.pulumi.awsnative.imagebuilder.inputs.ContainerRecipeTargetContainerRepositoryArgs.builder
import com.pulumi.awsnative.imagebuilder.kotlin.enums.ContainerRecipeTargetContainerRepositoryService
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The container repository where the output container image is stored.
 * @property repositoryName The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
 * @property service Specifies the service in which this image was registered.
 */
public data class ContainerRecipeTargetContainerRepositoryArgs(
    public val repositoryName: Output? = null,
    public val service: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.imagebuilder.inputs.ContainerRecipeTargetContainerRepositoryArgs =
        com.pulumi.awsnative.imagebuilder.inputs.ContainerRecipeTargetContainerRepositoryArgs.builder()
            .repositoryName(repositoryName?.applyValue({ args0 -> args0 }))
            .service(service?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ContainerRecipeTargetContainerRepositoryArgs].
 */
@PulumiTagMarker
public class ContainerRecipeTargetContainerRepositoryArgsBuilder internal constructor() {
    private var repositoryName: Output? = null

    private var service: Output? = null

    /**
     * @param value The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
     */
    @JvmName("geppvryyixmdgtqp")
    public suspend fun repositoryName(`value`: Output) {
        this.repositoryName = value
    }

    /**
     * @param value Specifies the service in which this image was registered.
     */
    @JvmName("llqxaqegxjaxwpru")
    public suspend fun service(`value`: Output) {
        this.service = value
    }

    /**
     * @param value The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
     */
    @JvmName("nxpybmrvkgrwofcc")
    public suspend fun repositoryName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.repositoryName = mapped
    }

    /**
     * @param value Specifies the service in which this image was registered.
     */
    @JvmName("vcffgxepxqxwqncq")
    public suspend fun service(`value`: ContainerRecipeTargetContainerRepositoryService?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.service = mapped
    }

    internal fun build(): ContainerRecipeTargetContainerRepositoryArgs =
        ContainerRecipeTargetContainerRepositoryArgs(
            repositoryName = repositoryName,
            service = service,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy