
com.pulumi.awsnative.apigateway.kotlin.inputs.GetMethodPlainArgs.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.apigateway.kotlin.inputs
import com.pulumi.awsnative.apigateway.inputs.GetMethodPlainArgs.builder
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 httpMethod The method's HTTP verb.
* @property resourceId The Resource identifier for the MethodResponse resource.
* @property restApiId The string identifier of the associated RestApi.
*/
public data class GetMethodPlainArgs(
public val httpMethod: String,
public val resourceId: String,
public val restApiId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apigateway.inputs.GetMethodPlainArgs =
com.pulumi.awsnative.apigateway.inputs.GetMethodPlainArgs.builder()
.httpMethod(httpMethod.let({ args0 -> args0 }))
.resourceId(resourceId.let({ args0 -> args0 }))
.restApiId(restApiId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetMethodPlainArgs].
*/
@PulumiTagMarker
public class GetMethodPlainArgsBuilder internal constructor() {
private var httpMethod: String? = null
private var resourceId: String? = null
private var restApiId: String? = null
/**
* @param value The method's HTTP verb.
*/
@JvmName("tlucrhchlttljsxs")
public suspend fun httpMethod(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.httpMethod = mapped
}
/**
* @param value The Resource identifier for the MethodResponse resource.
*/
@JvmName("jtugjhvsssqihpum")
public suspend fun resourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceId = mapped
}
/**
* @param value The string identifier of the associated RestApi.
*/
@JvmName("iandxxyvxdsiycmr")
public suspend fun restApiId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.restApiId = mapped
}
internal fun build(): GetMethodPlainArgs = GetMethodPlainArgs(
httpMethod = httpMethod ?: throw PulumiNullFieldException("httpMethod"),
resourceId = resourceId ?: throw PulumiNullFieldException("resourceId"),
restApiId = restApiId ?: throw PulumiNullFieldException("restApiId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy