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

com.pulumi.awsnative.deadline.kotlin.inputs.GetStorageProfilePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.deadline.kotlin.inputs

import com.pulumi.awsnative.deadline.inputs.GetStorageProfilePlainArgs.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 farmId The unique identifier of the farm that contains the storage profile.
 * @property storageProfileId The storage profile ID.
 */
public data class GetStorageProfilePlainArgs(
    public val farmId: String,
    public val storageProfileId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.deadline.inputs.GetStorageProfilePlainArgs =
        com.pulumi.awsnative.deadline.inputs.GetStorageProfilePlainArgs.builder()
            .farmId(farmId.let({ args0 -> args0 }))
            .storageProfileId(storageProfileId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetStorageProfilePlainArgs].
 */
@PulumiTagMarker
public class GetStorageProfilePlainArgsBuilder internal constructor() {
    private var farmId: String? = null

    private var storageProfileId: String? = null

    /**
     * @param value The unique identifier of the farm that contains the storage profile.
     */
    @JvmName("nfidyvalgxhlbltx")
    public suspend fun farmId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.farmId = mapped
    }

    /**
     * @param value The storage profile ID.
     */
    @JvmName("hfjllolfhxdjvkhy")
    public suspend fun storageProfileId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.storageProfileId = mapped
    }

    internal fun build(): GetStorageProfilePlainArgs = GetStorageProfilePlainArgs(
        farmId = farmId ?: throw PulumiNullFieldException("farmId"),
        storageProfileId = storageProfileId ?: throw PulumiNullFieldException("storageProfileId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy