com.pulumi.cloudflare.kotlin.inputs.DevicePostureIntegrationConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.DevicePostureIntegrationConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property accessClientId The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`.
* @property accessClientSecret The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`.
* @property apiUrl The third-party API's URL.
* @property authUrl The third-party authorization API URL.
* @property clientId The client identifier for authenticating API calls.
* @property clientKey The client key for authenticating API calls.
* @property clientSecret The client secret for authenticating API calls.
* @property customerId The customer identifier for authenticating API calls.
*/
public data class DevicePostureIntegrationConfigArgs(
public val accessClientId: Output? = null,
public val accessClientSecret: Output? = null,
public val apiUrl: Output? = null,
public val authUrl: Output? = null,
public val clientId: Output? = null,
public val clientKey: Output? = null,
public val clientSecret: Output? = null,
public val customerId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.DevicePostureIntegrationConfigArgs =
com.pulumi.cloudflare.inputs.DevicePostureIntegrationConfigArgs.builder()
.accessClientId(accessClientId?.applyValue({ args0 -> args0 }))
.accessClientSecret(accessClientSecret?.applyValue({ args0 -> args0 }))
.apiUrl(apiUrl?.applyValue({ args0 -> args0 }))
.authUrl(authUrl?.applyValue({ args0 -> args0 }))
.clientId(clientId?.applyValue({ args0 -> args0 }))
.clientKey(clientKey?.applyValue({ args0 -> args0 }))
.clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
.customerId(customerId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DevicePostureIntegrationConfigArgs].
*/
@PulumiTagMarker
public class DevicePostureIntegrationConfigArgsBuilder internal constructor() {
private var accessClientId: Output? = null
private var accessClientSecret: Output? = null
private var apiUrl: Output? = null
private var authUrl: Output? = null
private var clientId: Output? = null
private var clientKey: Output? = null
private var clientSecret: Output? = null
private var customerId: Output? = null
/**
* @param value The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`.
*/
@JvmName("gxkrgdiuuqnwouiq")
public suspend fun accessClientId(`value`: Output) {
this.accessClientId = value
}
/**
* @param value The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`.
*/
@JvmName("dumdbnnqumoyhelq")
public suspend fun accessClientSecret(`value`: Output) {
this.accessClientSecret = value
}
/**
* @param value The third-party API's URL.
*/
@JvmName("xfcgbuljyhhuhvsa")
public suspend fun apiUrl(`value`: Output) {
this.apiUrl = value
}
/**
* @param value The third-party authorization API URL.
*/
@JvmName("onvfraxvcvppuval")
public suspend fun authUrl(`value`: Output) {
this.authUrl = value
}
/**
* @param value The client identifier for authenticating API calls.
*/
@JvmName("vidafkgdeeolqfgo")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value The client key for authenticating API calls.
*/
@JvmName("lcomtfcpkjptxdwv")
public suspend fun clientKey(`value`: Output) {
this.clientKey = value
}
/**
* @param value The client secret for authenticating API calls.
*/
@JvmName("rjctwvvblhallcuc")
public suspend fun clientSecret(`value`: Output) {
this.clientSecret = value
}
/**
* @param value The customer identifier for authenticating API calls.
*/
@JvmName("vvawkfwijfccnfje")
public suspend fun customerId(`value`: Output) {
this.customerId = value
}
/**
* @param value The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`.
*/
@JvmName("lymscqhcvyyvmnph")
public suspend fun accessClientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessClientId = mapped
}
/**
* @param value The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`.
*/
@JvmName("sdyhixhgtklndnrj")
public suspend fun accessClientSecret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessClientSecret = mapped
}
/**
* @param value The third-party API's URL.
*/
@JvmName("yofygqqskmlalrog")
public suspend fun apiUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apiUrl = mapped
}
/**
* @param value The third-party authorization API URL.
*/
@JvmName("mftmekrfbsouddtw")
public suspend fun authUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authUrl = mapped
}
/**
* @param value The client identifier for authenticating API calls.
*/
@JvmName("bvqnlwbunwonooiw")
public suspend fun clientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientId = mapped
}
/**
* @param value The client key for authenticating API calls.
*/
@JvmName("vevgpgaioidgflfh")
public suspend fun clientKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientKey = mapped
}
/**
* @param value The client secret for authenticating API calls.
*/
@JvmName("vrmnfcvqmyxktfwf")
public suspend fun clientSecret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientSecret = mapped
}
/**
* @param value The customer identifier for authenticating API calls.
*/
@JvmName("lyfwpnvsfgnydlbw")
public suspend fun customerId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customerId = mapped
}
internal fun build(): DevicePostureIntegrationConfigArgs = DevicePostureIntegrationConfigArgs(
accessClientId = accessClientId,
accessClientSecret = accessClientSecret,
apiUrl = apiUrl,
authUrl = authUrl,
clientId = clientId,
clientKey = clientKey,
clientSecret = clientSecret,
customerId = customerId,
)
}