![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.netapp.kotlin.inputs.GetSnapshotPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.netapp.kotlin.inputs
import com.pulumi.azurenative.netapp.inputs.GetSnapshotPlainArgs.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 accountName The name of the NetApp account
* @property poolName The name of the capacity pool
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property snapshotName The name of the snapshot
* @property volumeName The name of the volume
*/
public data class GetSnapshotPlainArgs(
public val accountName: String,
public val poolName: String,
public val resourceGroupName: String,
public val snapshotName: String,
public val volumeName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.netapp.inputs.GetSnapshotPlainArgs =
com.pulumi.azurenative.netapp.inputs.GetSnapshotPlainArgs.builder()
.accountName(accountName.let({ args0 -> args0 }))
.poolName(poolName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.snapshotName(snapshotName.let({ args0 -> args0 }))
.volumeName(volumeName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSnapshotPlainArgs].
*/
@PulumiTagMarker
public class GetSnapshotPlainArgsBuilder internal constructor() {
private var accountName: String? = null
private var poolName: String? = null
private var resourceGroupName: String? = null
private var snapshotName: String? = null
private var volumeName: String? = null
/**
* @param value The name of the NetApp account
*/
@JvmName("tspdxbtdcfwrudvx")
public suspend fun accountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.accountName = mapped
}
/**
* @param value The name of the capacity pool
*/
@JvmName("tankuitkfkcikpcf")
public suspend fun poolName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.poolName = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("uctdboulqwvvvobj")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The name of the snapshot
*/
@JvmName("boabpctlhdvgovop")
public suspend fun snapshotName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.snapshotName = mapped
}
/**
* @param value The name of the volume
*/
@JvmName("volfhejbhlvbndhr")
public suspend fun volumeName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.volumeName = mapped
}
internal fun build(): GetSnapshotPlainArgs = GetSnapshotPlainArgs(
accountName = accountName ?: throw PulumiNullFieldException("accountName"),
poolName = poolName ?: throw PulumiNullFieldException("poolName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
snapshotName = snapshotName ?: throw PulumiNullFieldException("snapshotName"),
volumeName = volumeName ?: throw PulumiNullFieldException("volumeName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy