![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.databoxedge.kotlin.inputs.AddressArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.databoxedge.kotlin.inputs
import com.pulumi.azurenative.databoxedge.inputs.AddressArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The shipping address of the customer.
* @property addressLine1 The address line1.
* @property addressLine2 The address line2.
* @property addressLine3 The address line3.
* @property city The city name.
* @property country The country name.
* @property postalCode The postal code.
* @property state The state name.
*/
public data class AddressArgs(
public val addressLine1: Output? = null,
public val addressLine2: Output? = null,
public val addressLine3: Output? = null,
public val city: Output? = null,
public val country: Output,
public val postalCode: Output? = null,
public val state: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.databoxedge.inputs.AddressArgs =
com.pulumi.azurenative.databoxedge.inputs.AddressArgs.builder()
.addressLine1(addressLine1?.applyValue({ args0 -> args0 }))
.addressLine2(addressLine2?.applyValue({ args0 -> args0 }))
.addressLine3(addressLine3?.applyValue({ args0 -> args0 }))
.city(city?.applyValue({ args0 -> args0 }))
.country(country.applyValue({ args0 -> args0 }))
.postalCode(postalCode?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AddressArgs].
*/
@PulumiTagMarker
public class AddressArgsBuilder internal constructor() {
private var addressLine1: Output? = null
private var addressLine2: Output? = null
private var addressLine3: Output? = null
private var city: Output? = null
private var country: Output? = null
private var postalCode: Output? = null
private var state: Output? = null
/**
* @param value The address line1.
*/
@JvmName("oihuflmbophcaujv")
public suspend fun addressLine1(`value`: Output) {
this.addressLine1 = value
}
/**
* @param value The address line2.
*/
@JvmName("kcjavlvjmxtxllqm")
public suspend fun addressLine2(`value`: Output) {
this.addressLine2 = value
}
/**
* @param value The address line3.
*/
@JvmName("dmpgdnejksdqwtid")
public suspend fun addressLine3(`value`: Output) {
this.addressLine3 = value
}
/**
* @param value The city name.
*/
@JvmName("yhoyxgtttvxhlxnc")
public suspend fun city(`value`: Output) {
this.city = value
}
/**
* @param value The country name.
*/
@JvmName("rxxpfdwjrqshboca")
public suspend fun country(`value`: Output) {
this.country = value
}
/**
* @param value The postal code.
*/
@JvmName("xofrwmelbcduggcn")
public suspend fun postalCode(`value`: Output) {
this.postalCode = value
}
/**
* @param value The state name.
*/
@JvmName("kpeyqhmmdrfjmjxy")
public suspend fun state(`value`: Output) {
this.state = value
}
/**
* @param value The address line1.
*/
@JvmName("idskduxckktrxfno")
public suspend fun addressLine1(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.addressLine1 = mapped
}
/**
* @param value The address line2.
*/
@JvmName("wuwapuvoropkuing")
public suspend fun addressLine2(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.addressLine2 = mapped
}
/**
* @param value The address line3.
*/
@JvmName("ncidslgfowfdynro")
public suspend fun addressLine3(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.addressLine3 = mapped
}
/**
* @param value The city name.
*/
@JvmName("lbswnuvoogsoelfi")
public suspend fun city(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.city = mapped
}
/**
* @param value The country name.
*/
@JvmName("aqmlbisjsddtqpdb")
public suspend fun country(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.country = mapped
}
/**
* @param value The postal code.
*/
@JvmName("ypqdsffrsbjafgsv")
public suspend fun postalCode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.postalCode = mapped
}
/**
* @param value The state name.
*/
@JvmName("rwbtuyuermqjhnfg")
public suspend fun state(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.state = mapped
}
internal fun build(): AddressArgs = AddressArgs(
addressLine1 = addressLine1,
addressLine2 = addressLine2,
addressLine3 = addressLine3,
city = city,
country = country ?: throw PulumiNullFieldException("country"),
postalCode = postalCode,
state = state,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy