All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.databoxedge.kotlin.inputs.OrderShipmentAddressArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.databoxedge.kotlin.inputs

import com.pulumi.azure.databoxedge.inputs.OrderShipmentAddressArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property addresses The list of upto 3 lines for address information.
 * @property city The city name. Changing this forces a new Databox Edge Order to be created.
 * @property country The name of the country to ship the Databox Edge Device to. Valid values are "Algeria", "Argentina", "Australia", "Austria", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belgium", "Bermuda", "Bolivia", "Bosnia and Herzegovina", "Brazil", "Bulgaria", "Canada", "Cayman Islands", "Chile", "Colombia", "Costa Rica", "Croatia", "Cyprus", "Czechia", "Côte D'ivoire", "Denmark", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Estonia", "Ethiopia", "Finland", "France", "Georgia", "Germany", "Ghana", "Greece", "Guatemala", "Honduras", "Hong Kong SAR", "Hungary", "Iceland", "India", "Indonesia", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kuwait", "Kyrgyzstan", "Latvia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao SAR", "Malaysia", "Malta", "Mauritius", "Mexico", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Namibia", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Nigeria", "Norway", "Oman", "Pakistan", "Palestinian Authority", "Panama", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Puerto Rico", "Qatar", "Republic of Korea", "Romania", "Russia", "Rwanda", "Saint Kitts And Nevis", "Saudi Arabia", "Senegal", "Serbia", "Singapore", "Slovakia", "Slovenia", "South Africa", "Spain", "Sri Lanka", "Sweden", "Switzerland", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Trinidad And Tobago", "Tunisia", "Turkey", "Turkmenistan", "U.S. Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Venezuela", "Vietnam", "Yemen", "Zambia" or "Zimbabwe". Changing this forces a new Databox Edge Order to be created.
 * @property postalCode The postal code. Changing this forces a new Databox Edge Order to be created.
 * @property state The name of the state to ship the Databox Edge Device to. Changing this forces a new Databox Edge Order to be created.
 */
public data class OrderShipmentAddressArgs(
    public val addresses: Output>,
    public val city: Output,
    public val country: Output,
    public val postalCode: Output,
    public val state: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.databoxedge.inputs.OrderShipmentAddressArgs =
        com.pulumi.azure.databoxedge.inputs.OrderShipmentAddressArgs.builder()
            .addresses(addresses.applyValue({ args0 -> args0.map({ 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 [OrderShipmentAddressArgs].
 */
@PulumiTagMarker
public class OrderShipmentAddressArgsBuilder internal constructor() {
    private var addresses: 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 list of upto 3 lines for address information.
     */
    @JvmName("xtvvcldhmdvnoeps")
    public suspend fun addresses(`value`: Output>) {
        this.addresses = value
    }

    @JvmName("darebrripqpwegta")
    public suspend fun addresses(vararg values: Output) {
        this.addresses = Output.all(values.asList())
    }

    /**
     * @param values The list of upto 3 lines for address information.
     */
    @JvmName("tplgqvbohylaxpln")
    public suspend fun addresses(values: List>) {
        this.addresses = Output.all(values)
    }

    /**
     * @param value The city name. Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("nandikmwfuxhlexx")
    public suspend fun city(`value`: Output) {
        this.city = value
    }

    /**
     * @param value The name of the country to ship the Databox Edge Device to. Valid values are "Algeria", "Argentina", "Australia", "Austria", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belgium", "Bermuda", "Bolivia", "Bosnia and Herzegovina", "Brazil", "Bulgaria", "Canada", "Cayman Islands", "Chile", "Colombia", "Costa Rica", "Croatia", "Cyprus", "Czechia", "Côte D'ivoire", "Denmark", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Estonia", "Ethiopia", "Finland", "France", "Georgia", "Germany", "Ghana", "Greece", "Guatemala", "Honduras", "Hong Kong SAR", "Hungary", "Iceland", "India", "Indonesia", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kuwait", "Kyrgyzstan", "Latvia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao SAR", "Malaysia", "Malta", "Mauritius", "Mexico", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Namibia", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Nigeria", "Norway", "Oman", "Pakistan", "Palestinian Authority", "Panama", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Puerto Rico", "Qatar", "Republic of Korea", "Romania", "Russia", "Rwanda", "Saint Kitts And Nevis", "Saudi Arabia", "Senegal", "Serbia", "Singapore", "Slovakia", "Slovenia", "South Africa", "Spain", "Sri Lanka", "Sweden", "Switzerland", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Trinidad And Tobago", "Tunisia", "Turkey", "Turkmenistan", "U.S. Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Venezuela", "Vietnam", "Yemen", "Zambia" or "Zimbabwe". Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("lptcocqjhqkmdthv")
    public suspend fun country(`value`: Output) {
        this.country = value
    }

    /**
     * @param value The postal code. Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("fdgthjyarjxkvxpg")
    public suspend fun postalCode(`value`: Output) {
        this.postalCode = value
    }

    /**
     * @param value The name of the state to ship the Databox Edge Device to. Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("ieamfeyitoftkrkq")
    public suspend fun state(`value`: Output) {
        this.state = value
    }

    /**
     * @param value The list of upto 3 lines for address information.
     */
    @JvmName("mbiytksknddelaja")
    public suspend fun addresses(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.addresses = mapped
    }

    /**
     * @param values The list of upto 3 lines for address information.
     */
    @JvmName("uqaouxkijvtflgxa")
    public suspend fun addresses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.addresses = mapped
    }

    /**
     * @param value The city name. Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("klmjisgtqiudxkeb")
    public suspend fun city(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.city = mapped
    }

    /**
     * @param value The name of the country to ship the Databox Edge Device to. Valid values are "Algeria", "Argentina", "Australia", "Austria", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belgium", "Bermuda", "Bolivia", "Bosnia and Herzegovina", "Brazil", "Bulgaria", "Canada", "Cayman Islands", "Chile", "Colombia", "Costa Rica", "Croatia", "Cyprus", "Czechia", "Côte D'ivoire", "Denmark", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Estonia", "Ethiopia", "Finland", "France", "Georgia", "Germany", "Ghana", "Greece", "Guatemala", "Honduras", "Hong Kong SAR", "Hungary", "Iceland", "India", "Indonesia", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kuwait", "Kyrgyzstan", "Latvia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao SAR", "Malaysia", "Malta", "Mauritius", "Mexico", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Namibia", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Nigeria", "Norway", "Oman", "Pakistan", "Palestinian Authority", "Panama", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Puerto Rico", "Qatar", "Republic of Korea", "Romania", "Russia", "Rwanda", "Saint Kitts And Nevis", "Saudi Arabia", "Senegal", "Serbia", "Singapore", "Slovakia", "Slovenia", "South Africa", "Spain", "Sri Lanka", "Sweden", "Switzerland", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Trinidad And Tobago", "Tunisia", "Turkey", "Turkmenistan", "U.S. Virgin Islands", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Venezuela", "Vietnam", "Yemen", "Zambia" or "Zimbabwe". Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("gbtnviagveshettr")
    public suspend fun country(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.country = mapped
    }

    /**
     * @param value The postal code. Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("orpvdpuhriqsqcdy")
    public suspend fun postalCode(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.postalCode = mapped
    }

    /**
     * @param value The name of the state to ship the Databox Edge Device to. Changing this forces a new Databox Edge Order to be created.
     */
    @JvmName("ftdmxwrjqprpagwl")
    public suspend fun state(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.state = mapped
    }

    internal fun build(): OrderShipmentAddressArgs = OrderShipmentAddressArgs(
        addresses = addresses ?: throw PulumiNullFieldException("addresses"),
        city = city ?: throw PulumiNullFieldException("city"),
        country = country ?: throw PulumiNullFieldException("country"),
        postalCode = postalCode ?: throw PulumiNullFieldException("postalCode"),
        state = state ?: throw PulumiNullFieldException("state"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy