com.pulumi.awsnative.b2bi.kotlin.outputs.GetCapabilityResult.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.b2bi.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property capabilityArn Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer.
* @property capabilityId Returns a system-assigned unique identifier for the capability.
* @property configuration Specifies a structure that contains the details for a capability.
* @property createdAt Returns a timestamp for creation date and time of the capability.
* @property instructionsDocuments Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
* @property modifiedAt Returns a timestamp that identifies the most recent date and time that the capability was modified.
* @property name The display name of the capability.
* @property tags Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
*/
public data class GetCapabilityResult(
public val capabilityArn: String? = null,
public val capabilityId: String? = null,
public val configuration: CapabilityConfigurationProperties? = null,
public val createdAt: String? = null,
public val instructionsDocuments: List? = null,
public val modifiedAt: String? = null,
public val name: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.b2bi.outputs.GetCapabilityResult): GetCapabilityResult = GetCapabilityResult(
capabilityArn = javaType.capabilityArn().map({ args0 -> args0 }).orElse(null),
capabilityId = javaType.capabilityId().map({ args0 -> args0 }).orElse(null),
configuration = javaType.configuration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.b2bi.kotlin.outputs.CapabilityConfigurationProperties.Companion.toKotlin(args0)
})
}).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
instructionsDocuments = javaType.instructionsDocuments().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.b2bi.kotlin.outputs.CapabilityS3Location.Companion.toKotlin(args0)
})
}),
modifiedAt = javaType.modifiedAt().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}