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

com.pulumi.awsnative.vpclattice.kotlin.outputs.GetServiceNetworkServiceAssociationResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.vpclattice.kotlin.outputs

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

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the association between the service network and the service.
 * @property createdAt The date and time that the association was created, specified in ISO-8601 format.
 * @property dnsEntry The DNS information of the service.
 * @property id The ID of the of the association between the service network and the service.
 * @property serviceArn The Amazon Resource Name (ARN) of the service.
 * @property serviceId The ID of the service.
 * @property serviceName The name of the service.
 * @property serviceNetworkArn The Amazon Resource Name (ARN) of the service network
 * @property serviceNetworkId The ID of the service network.
 * @property serviceNetworkName The name of the service network.
 * @property status The status of the association between the service network and the service.
 * @property tags The tags for the association.
 */
public data class GetServiceNetworkServiceAssociationResult(
    public val arn: String? = null,
    public val createdAt: String? = null,
    public val dnsEntry: ServiceNetworkServiceAssociationDnsEntry? = null,
    public val id: String? = null,
    public val serviceArn: String? = null,
    public val serviceId: String? = null,
    public val serviceName: String? = null,
    public val serviceNetworkArn: String? = null,
    public val serviceNetworkId: String? = null,
    public val serviceNetworkName: String? = null,
    public val status: ServiceNetworkServiceAssociationStatus? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.outputs.GetServiceNetworkServiceAssociationResult): GetServiceNetworkServiceAssociationResult = GetServiceNetworkServiceAssociationResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            dnsEntry = javaType.dnsEntry().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.vpclattice.kotlin.outputs.ServiceNetworkServiceAssociationDnsEntry.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            serviceArn = javaType.serviceArn().map({ args0 -> args0 }).orElse(null),
            serviceId = javaType.serviceId().map({ args0 -> args0 }).orElse(null),
            serviceName = javaType.serviceName().map({ args0 -> args0 }).orElse(null),
            serviceNetworkArn = javaType.serviceNetworkArn().map({ args0 -> args0 }).orElse(null),
            serviceNetworkId = javaType.serviceNetworkId().map({ args0 -> args0 }).orElse(null),
            serviceNetworkName = javaType.serviceNetworkName().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.vpclattice.kotlin.enums.ServiceNetworkServiceAssociationStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy