com.pulumi.aws.cognito.kotlin.inputs.ResourceServerScopeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cognito.kotlin.inputs
import com.pulumi.aws.cognito.inputs.ResourceServerScopeArgs.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
/**
*
* @property scopeDescription The scope description.
* @property scopeName The scope name.
*/
public data class ResourceServerScopeArgs(
public val scopeDescription: Output,
public val scopeName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cognito.inputs.ResourceServerScopeArgs =
com.pulumi.aws.cognito.inputs.ResourceServerScopeArgs.builder()
.scopeDescription(scopeDescription.applyValue({ args0 -> args0 }))
.scopeName(scopeName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResourceServerScopeArgs].
*/
@PulumiTagMarker
public class ResourceServerScopeArgsBuilder internal constructor() {
private var scopeDescription: Output? = null
private var scopeName: Output? = null
/**
* @param value The scope description.
*/
@JvmName("jadhkwaxyvxlbgsj")
public suspend fun scopeDescription(`value`: Output) {
this.scopeDescription = value
}
/**
* @param value The scope name.
*/
@JvmName("ywgwivcgwrksmkky")
public suspend fun scopeName(`value`: Output) {
this.scopeName = value
}
/**
* @param value The scope description.
*/
@JvmName("sdhrtbkxerelsikc")
public suspend fun scopeDescription(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.scopeDescription = mapped
}
/**
* @param value The scope name.
*/
@JvmName("vfltdqesifxhccmu")
public suspend fun scopeName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.scopeName = mapped
}
internal fun build(): ResourceServerScopeArgs = ResourceServerScopeArgs(
scopeDescription = scopeDescription ?: throw PulumiNullFieldException("scopeDescription"),
scopeName = scopeName ?: throw PulumiNullFieldException("scopeName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy