com.pulumi.gcp.networkservices.kotlin.inputs.GrpcRouteRuleMatchMethodArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networkservices.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkservices.inputs.GrpcRouteRuleMatchMethodArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property caseSensitive Specifies that matches are case sensitive. The default value is true.
* @property grpcMethod Required. Name of the method to match against.
* @property grpcService Required. Name of the service to match against.
*/
public data class GrpcRouteRuleMatchMethodArgs(
public val caseSensitive: Output? = null,
public val grpcMethod: Output,
public val grpcService: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkservices.inputs.GrpcRouteRuleMatchMethodArgs =
com.pulumi.gcp.networkservices.inputs.GrpcRouteRuleMatchMethodArgs.builder()
.caseSensitive(caseSensitive?.applyValue({ args0 -> args0 }))
.grpcMethod(grpcMethod.applyValue({ args0 -> args0 }))
.grpcService(grpcService.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GrpcRouteRuleMatchMethodArgs].
*/
@PulumiTagMarker
public class GrpcRouteRuleMatchMethodArgsBuilder internal constructor() {
private var caseSensitive: Output? = null
private var grpcMethod: Output? = null
private var grpcService: Output? = null
/**
* @param value Specifies that matches are case sensitive. The default value is true.
*/
@JvmName("cywivkhujpnwwolm")
public suspend fun caseSensitive(`value`: Output) {
this.caseSensitive = value
}
/**
* @param value Required. Name of the method to match against.
*/
@JvmName("ftnvwwxnknehjbvx")
public suspend fun grpcMethod(`value`: Output) {
this.grpcMethod = value
}
/**
* @param value Required. Name of the service to match against.
*/
@JvmName("msxetildllwxrhut")
public suspend fun grpcService(`value`: Output) {
this.grpcService = value
}
/**
* @param value Specifies that matches are case sensitive. The default value is true.
*/
@JvmName("fslxfibgvhviyugv")
public suspend fun caseSensitive(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.caseSensitive = mapped
}
/**
* @param value Required. Name of the method to match against.
*/
@JvmName("shukixvjvwdfijyg")
public suspend fun grpcMethod(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.grpcMethod = mapped
}
/**
* @param value Required. Name of the service to match against.
*/
@JvmName("fylmjbyrojwbnuav")
public suspend fun grpcService(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.grpcService = mapped
}
internal fun build(): GrpcRouteRuleMatchMethodArgs = GrpcRouteRuleMatchMethodArgs(
caseSensitive = caseSensitive,
grpcMethod = grpcMethod ?: throw PulumiNullFieldException("grpcMethod"),
grpcService = grpcService ?: throw PulumiNullFieldException("grpcService"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy