com.pulumi.aws.appmesh.kotlin.inputs.RouteSpecGrpcRouteMatchMetadataMatchRangeArgs.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.appmesh.kotlin.inputs
import com.pulumi.aws.appmesh.inputs.RouteSpecGrpcRouteMatchMetadataMatchRangeArgs.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.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property end End of the range.
* @property start Start of the range.
*/
public data class RouteSpecGrpcRouteMatchMetadataMatchRangeArgs(
public val end: Output,
public val start: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appmesh.inputs.RouteSpecGrpcRouteMatchMetadataMatchRangeArgs = com.pulumi.aws.appmesh.inputs.RouteSpecGrpcRouteMatchMetadataMatchRangeArgs.builder()
.end(end.applyValue({ args0 -> args0 }))
.start(start.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RouteSpecGrpcRouteMatchMetadataMatchRangeArgs].
*/
@PulumiTagMarker
public class RouteSpecGrpcRouteMatchMetadataMatchRangeArgsBuilder internal constructor() {
private var end: Output? = null
private var start: Output? = null
/**
* @param value End of the range.
*/
@JvmName("jgmwfpanxksduwpt")
public suspend fun end(`value`: Output) {
this.end = value
}
/**
* @param value Start of the range.
*/
@JvmName("xmojvyutgyylbfsd")
public suspend fun start(`value`: Output) {
this.start = value
}
/**
* @param value End of the range.
*/
@JvmName("uqsocurjlillisbq")
public suspend fun end(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.end = mapped
}
/**
* @param value Start of the range.
*/
@JvmName("fxnrjyhgmjubyqln")
public suspend fun start(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.start = mapped
}
internal fun build(): RouteSpecGrpcRouteMatchMetadataMatchRangeArgs =
RouteSpecGrpcRouteMatchMetadataMatchRangeArgs(
end = end ?: throw PulumiNullFieldException("end"),
start = start ?: throw PulumiNullFieldException("start"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy