com.pulumi.aws.sagemaker.kotlin.inputs.ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property acceptEula Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as `true` in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
*/
public data class ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs(
public val acceptEula: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs =
com.pulumi.aws.sagemaker.inputs.ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs.builder()
.acceptEula(acceptEula.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs].
*/
@PulumiTagMarker
public class ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgsBuilder internal constructor() {
private var acceptEula: Output? = null
/**
* @param value Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as `true` in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
*/
@JvmName("hvomcgltvhmlxudn")
public suspend fun acceptEula(`value`: Output) {
this.acceptEula = value
}
/**
* @param value Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as `true` in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
*/
@JvmName("bbsgoparhpbccvdq")
public suspend fun acceptEula(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.acceptEula = mapped
}
internal fun build(): ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs =
ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfigArgs(
acceptEula = acceptEula ?: throw PulumiNullFieldException("acceptEula"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy