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

com.pulumi.awsnative.appstream.kotlin.outputs.GetAppBlockBuilderResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.appstream.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property accessEndpoints The access endpoints of the app block builder.
 * @property arn The ARN of the app block builder.
 * @property createdTime The time when the app block builder was created.
 * @property description The description of the app block builder.
 * @property displayName The display name of the app block builder.
 * @property enableDefaultInternetAccess Indicates whether default internet access is enabled for the app block builder.
 * @property iamRoleArn The ARN of the IAM role that is applied to the app block builder.
 * @property instanceType The instance type of the app block builder.
 * @property platform The platform of the app block builder.
 * *Allowed values* : `WINDOWS_SERVER_2019`
 * @property vpcConfig The VPC configuration for the app block builder.
 */
public data class GetAppBlockBuilderResult(
    public val accessEndpoints: List? = null,
    public val arn: String? = null,
    public val createdTime: String? = null,
    public val description: String? = null,
    public val displayName: String? = null,
    public val enableDefaultInternetAccess: Boolean? = null,
    public val iamRoleArn: String? = null,
    public val instanceType: String? = null,
    public val platform: String? = null,
    public val vpcConfig: AppBlockBuilderVpcConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appstream.outputs.GetAppBlockBuilderResult): GetAppBlockBuilderResult = GetAppBlockBuilderResult(
            accessEndpoints = javaType.accessEndpoints().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appstream.kotlin.outputs.AppBlockBuilderAccessEndpoint.Companion.toKotlin(args0)
                })
            }),
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            enableDefaultInternetAccess = javaType.enableDefaultInternetAccess().map({ args0 ->
                args0
            }).orElse(null),
            iamRoleArn = javaType.iamRoleArn().map({ args0 -> args0 }).orElse(null),
            instanceType = javaType.instanceType().map({ args0 -> args0 }).orElse(null),
            platform = javaType.platform().map({ args0 -> args0 }).orElse(null),
            vpcConfig = javaType.vpcConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appstream.kotlin.outputs.AppBlockBuilderVpcConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy