
com.pulumi.awsnative.connect.kotlin.inputs.GetInstanceStorageConfigPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.GetInstanceStorageConfigPlainArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.InstanceStorageConfigInstanceStorageResourceType
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 The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
* @property instanceArn Connect Instance ID with which the storage config will be associated
* @property resourceType A valid resource type. Following are the valid resource types: `CHAT_TRANSCRIPTS` | `CALL_RECORDINGS` | `SCHEDULED_REPORTS` | `MEDIA_STREAMS` | `CONTACT_TRACE_RECORDS` | `AGENT_EVENTS`
*/
public data class GetInstanceStorageConfigPlainArgs(
public val associationId: String,
public val instanceArn: String,
public val resourceType: InstanceStorageConfigInstanceStorageResourceType,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.GetInstanceStorageConfigPlainArgs =
com.pulumi.awsnative.connect.inputs.GetInstanceStorageConfigPlainArgs.builder()
.associationId(associationId.let({ args0 -> args0 }))
.instanceArn(instanceArn.let({ args0 -> args0 }))
.resourceType(resourceType.let({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GetInstanceStorageConfigPlainArgs].
*/
@PulumiTagMarker
public class GetInstanceStorageConfigPlainArgsBuilder internal constructor() {
private var associationId: String? = null
private var instanceArn: String? = null
private var resourceType: InstanceStorageConfigInstanceStorageResourceType? = null
/**
* @param value The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
*/
@JvmName("onvauoriwnpanons")
public suspend fun associationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.associationId = mapped
}
/**
* @param value Connect Instance ID with which the storage config will be associated
*/
@JvmName("nwmrfkamsdjbvhip")
public suspend fun instanceArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.instanceArn = mapped
}
/**
* @param value A valid resource type. Following are the valid resource types: `CHAT_TRANSCRIPTS` | `CALL_RECORDINGS` | `SCHEDULED_REPORTS` | `MEDIA_STREAMS` | `CONTACT_TRACE_RECORDS` | `AGENT_EVENTS`
*/
@JvmName("fnqiierdnmrvwusr")
public suspend fun resourceType(`value`: InstanceStorageConfigInstanceStorageResourceType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceType = mapped
}
internal fun build(): GetInstanceStorageConfigPlainArgs = GetInstanceStorageConfigPlainArgs(
associationId = associationId ?: throw PulumiNullFieldException("associationId"),
instanceArn = instanceArn ?: throw PulumiNullFieldException("instanceArn"),
resourceType = resourceType ?: throw PulumiNullFieldException("resourceType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy