
com.pulumi.azurenative.security.kotlin.inputs.SecurityAssessmentPartnerDataArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.security.kotlin.inputs
import com.pulumi.azurenative.security.inputs.SecurityAssessmentPartnerDataArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* Data regarding 3rd party partner integration
* @property partnerName Name of the company of the partner
* @property secret secret to authenticate the partner - write only
*/
public data class SecurityAssessmentPartnerDataArgs(
public val partnerName: Output,
public val secret: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.security.inputs.SecurityAssessmentPartnerDataArgs =
com.pulumi.azurenative.security.inputs.SecurityAssessmentPartnerDataArgs.builder()
.partnerName(partnerName.applyValue({ args0 -> args0 }))
.secret(secret.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecurityAssessmentPartnerDataArgs].
*/
@PulumiTagMarker
public class SecurityAssessmentPartnerDataArgsBuilder internal constructor() {
private var partnerName: Output? = null
private var secret: Output? = null
/**
* @param value Name of the company of the partner
*/
@JvmName("usnjcwkqyshbkocp")
public suspend fun partnerName(`value`: Output) {
this.partnerName = value
}
/**
* @param value secret to authenticate the partner - write only
*/
@JvmName("ukoabnbfnjloxfob")
public suspend fun secret(`value`: Output) {
this.secret = value
}
/**
* @param value Name of the company of the partner
*/
@JvmName("juajkyubnobvlfxu")
public suspend fun partnerName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.partnerName = mapped
}
/**
* @param value secret to authenticate the partner - write only
*/
@JvmName("cjbpqymwcsupaqpe")
public suspend fun secret(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secret = mapped
}
internal fun build(): SecurityAssessmentPartnerDataArgs = SecurityAssessmentPartnerDataArgs(
partnerName = partnerName ?: throw PulumiNullFieldException("partnerName"),
secret = secret ?: throw PulumiNullFieldException("secret"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy