![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.connect.kotlin.inputs.GetSecurityKeyPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.GetSecurityKeyPlainArgs.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 associationId An `AssociationId` is automatically generated when a storage config is associated with an instance.
* @property instanceId The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
*/
public data class GetSecurityKeyPlainArgs(
public val associationId: String,
public val instanceId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.GetSecurityKeyPlainArgs =
com.pulumi.awsnative.connect.inputs.GetSecurityKeyPlainArgs.builder()
.associationId(associationId.let({ args0 -> args0 }))
.instanceId(instanceId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSecurityKeyPlainArgs].
*/
@PulumiTagMarker
public class GetSecurityKeyPlainArgsBuilder internal constructor() {
private var associationId: String? = null
private var instanceId: String? = null
/**
* @param value An `AssociationId` is automatically generated when a storage config is associated with an instance.
*/
@JvmName("afnkdcoxawbmeoie")
public suspend fun associationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.associationId = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
*/
@JvmName("qehgswimequyruvq")
public suspend fun instanceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.instanceId = mapped
}
internal fun build(): GetSecurityKeyPlainArgs = GetSecurityKeyPlainArgs(
associationId = associationId ?: throw PulumiNullFieldException("associationId"),
instanceId = instanceId ?: throw PulumiNullFieldException("instanceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy