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

com.pulumi.awsnative.connect.kotlin.outputs.GetPhoneNumberResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property address The phone number e164 address.
 * @property description The description of the phone number.
 * @property phoneNumberArn The phone number ARN
 * @property tags One or more tags.
 * @property targetArn The ARN of the target the phone number is claimed to.
 */
public data class GetPhoneNumberResult(
    public val address: String? = null,
    public val description: String? = null,
    public val phoneNumberArn: String? = null,
    public val tags: List? = null,
    public val targetArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.GetPhoneNumberResult): GetPhoneNumberResult = GetPhoneNumberResult(
            address = javaType.address().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            phoneNumberArn = javaType.phoneNumberArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            targetArn = javaType.targetArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy