
com.pulumi.awsnative.apigateway.kotlin.inputs.GetBasePathMappingPlainArgs.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.GetBasePathMappingPlainArgs.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 basePath The base path name that callers of the API must provide as part of the URL after the domain name.
* @property domainName The domain name of the BasePathMapping resource to be described.
*/
public data class GetBasePathMappingPlainArgs(
public val basePath: String,
public val domainName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apigateway.inputs.GetBasePathMappingPlainArgs =
com.pulumi.awsnative.apigateway.inputs.GetBasePathMappingPlainArgs.builder()
.basePath(basePath.let({ args0 -> args0 }))
.domainName(domainName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetBasePathMappingPlainArgs].
*/
@PulumiTagMarker
public class GetBasePathMappingPlainArgsBuilder internal constructor() {
private var basePath: String? = null
private var domainName: String? = null
/**
* @param value The base path name that callers of the API must provide as part of the URL after the domain name.
*/
@JvmName("qskehjmvtgpdoknf")
public suspend fun basePath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.basePath = mapped
}
/**
* @param value The domain name of the BasePathMapping resource to be described.
*/
@JvmName("yvmjonsesurloxud")
public suspend fun domainName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainName = mapped
}
internal fun build(): GetBasePathMappingPlainArgs = GetBasePathMappingPlainArgs(
basePath = basePath ?: throw PulumiNullFieldException("basePath"),
domainName = domainName ?: throw PulumiNullFieldException("domainName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy