
com.pulumi.awsnative.s3outposts.kotlin.outputs.GetEndpointResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.s3outposts.kotlin.outputs
import com.pulumi.awsnative.s3outposts.kotlin.enums.EndpointStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the endpoint.
* @property cidrBlock The VPC CIDR committed by this endpoint.
* @property creationTime The time the endpoint was created.
* @property failedReason The failure reason, if any, for a create or delete endpoint operation.
* @property id The ID of the endpoint.
* @property networkInterfaces The network interfaces of the endpoint.
* @property status The status of the endpoint.
*/
public data class GetEndpointResult(
public val arn: String? = null,
public val cidrBlock: String? = null,
public val creationTime: String? = null,
public val failedReason: EndpointFailedReason? = null,
public val id: String? = null,
public val networkInterfaces: List? = null,
public val status: EndpointStatus? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3outposts.outputs.GetEndpointResult): GetEndpointResult = GetEndpointResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
cidrBlock = javaType.cidrBlock().map({ args0 -> args0 }).orElse(null),
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
failedReason = javaType.failedReason().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3outposts.kotlin.outputs.EndpointFailedReason.Companion.toKotlin(args0)
})
}).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
networkInterfaces = javaType.networkInterfaces().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3outposts.kotlin.outputs.EndpointNetworkInterface.Companion.toKotlin(args0)
})
}),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3outposts.kotlin.enums.EndpointStatus.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy