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

com.pulumi.awsnative.refactorspaces.kotlin.inputs.GetServicePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.refactorspaces.kotlin.inputs

import com.pulumi.awsnative.refactorspaces.inputs.GetServicePlainArgs.builder
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 applicationIdentifier The unique identifier of the application.
 * @property environmentIdentifier The unique identifier of the environment.
 * @property serviceIdentifier The unique identifier of the service.
 */
public data class GetServicePlainArgs(
    public val applicationIdentifier: String,
    public val environmentIdentifier: String,
    public val serviceIdentifier: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.refactorspaces.inputs.GetServicePlainArgs =
        com.pulumi.awsnative.refactorspaces.inputs.GetServicePlainArgs.builder()
            .applicationIdentifier(applicationIdentifier.let({ args0 -> args0 }))
            .environmentIdentifier(environmentIdentifier.let({ args0 -> args0 }))
            .serviceIdentifier(serviceIdentifier.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetServicePlainArgs].
 */
@PulumiTagMarker
public class GetServicePlainArgsBuilder internal constructor() {
    private var applicationIdentifier: String? = null

    private var environmentIdentifier: String? = null

    private var serviceIdentifier: String? = null

    /**
     * @param value The unique identifier of the application.
     */
    @JvmName("eqqqrpaaiucwfaul")
    public suspend fun applicationIdentifier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.applicationIdentifier = mapped
    }

    /**
     * @param value The unique identifier of the environment.
     */
    @JvmName("honugahwegvhtsql")
    public suspend fun environmentIdentifier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.environmentIdentifier = mapped
    }

    /**
     * @param value The unique identifier of the service.
     */
    @JvmName("kgwosdpamjkrwhyn")
    public suspend fun serviceIdentifier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.serviceIdentifier = mapped
    }

    internal fun build(): GetServicePlainArgs = GetServicePlainArgs(
        applicationIdentifier = applicationIdentifier ?: throw
            PulumiNullFieldException("applicationIdentifier"),
        environmentIdentifier = environmentIdentifier ?: throw
            PulumiNullFieldException("environmentIdentifier"),
        serviceIdentifier = serviceIdentifier ?: throw PulumiNullFieldException("serviceIdentifier"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy