com.pulumi.awsnative.sagemaker.kotlin.ProjectArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.sagemaker.ProjectArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ServiceCatalogProvisionedProductDetailsPropertiesArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ServiceCatalogProvisionedProductDetailsPropertiesArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ServiceCatalogProvisioningDetailsPropertiesArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ServiceCatalogProvisioningDetailsPropertiesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::SageMaker::Project
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property projectDescription The description of the project.
* @property projectName The name of the project.
* @property serviceCatalogProvisionedProductDetails Provisioned ServiceCatalog Details
* @property serviceCatalogProvisioningDetails Input ServiceCatalog Provisioning Details
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ProjectArgs(
public val projectDescription: Output? = null,
public val projectName: Output? = null,
public val serviceCatalogProvisionedProductDetails: Output? = null,
public val serviceCatalogProvisioningDetails: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.ProjectArgs =
com.pulumi.awsnative.sagemaker.ProjectArgs.builder()
.projectDescription(projectDescription?.applyValue({ args0 -> args0 }))
.projectName(projectName?.applyValue({ args0 -> args0 }))
.serviceCatalogProvisionedProductDetails(
serviceCatalogProvisionedProductDetails?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.serviceCatalogProvisioningDetails(
serviceCatalogProvisioningDetails?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ProjectArgs].
*/
@PulumiTagMarker
public class ProjectArgsBuilder internal constructor() {
private var projectDescription: Output? = null
private var projectName: Output? = null
private var serviceCatalogProvisionedProductDetails:
Output? = null
private var serviceCatalogProvisioningDetails:
Output? = null
private var tags: Output>? = null
/**
* @param value The description of the project.
*/
@JvmName("qttijnigyexfqenh")
public suspend fun projectDescription(`value`: Output) {
this.projectDescription = value
}
/**
* @param value The name of the project.
*/
@JvmName("hhubdswifrswtgck")
public suspend fun projectName(`value`: Output) {
this.projectName = value
}
/**
* @param value Provisioned ServiceCatalog Details
*/
@JvmName("ftkuxevdokywvnwt")
public suspend fun serviceCatalogProvisionedProductDetails(`value`: Output) {
this.serviceCatalogProvisionedProductDetails = value
}
/**
* @param value Input ServiceCatalog Provisioning Details
*/
@JvmName("igacfgelebuwrkxy")
public suspend fun serviceCatalogProvisioningDetails(`value`: Output) {
this.serviceCatalogProvisioningDetails = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("ffjwuwlbyegvxily")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ckwjqrrryiqnylqe")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("sjclobfxclrfnddb")
public suspend fun tags(values: List