
com.pulumi.awsnative.aps.kotlin.inputs.ScraperSourceArgs.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.aps.kotlin.inputs
import com.pulumi.awsnative.aps.inputs.ScraperSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Scraper metrics source
* @property eksConfiguration Configuration for EKS metrics source
*/
public data class ScraperSourceArgs(
public val eksConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.aps.inputs.ScraperSourceArgs =
com.pulumi.awsnative.aps.inputs.ScraperSourceArgs.builder()
.eksConfiguration(
eksConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ScraperSourceArgs].
*/
@PulumiTagMarker
public class ScraperSourceArgsBuilder internal constructor() {
private var eksConfiguration: Output? = null
/**
* @param value Configuration for EKS metrics source
*/
@JvmName("kkqrpuxcvmgkbdqo")
public suspend fun eksConfiguration(`value`: Output) {
this.eksConfiguration = value
}
/**
* @param value Configuration for EKS metrics source
*/
@JvmName("tygufsuckocbsrkn")
public suspend fun eksConfiguration(`value`: ScraperSourceEksConfigurationPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.eksConfiguration = mapped
}
/**
* @param argument Configuration for EKS metrics source
*/
@JvmName("elnalajnnbgfbcvw")
public suspend fun eksConfiguration(argument: suspend ScraperSourceEksConfigurationPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = ScraperSourceEksConfigurationPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.eksConfiguration = mapped
}
internal fun build(): ScraperSourceArgs = ScraperSourceArgs(
eksConfiguration = eksConfiguration,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy