
com.pulumi.awsnative.sagemaker.kotlin.inputs.PipelineDefinition1PropertiesArgs.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.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.PipelineDefinition1PropertiesArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
* @property pipelineDefinitionS3Location
*/
public data class PipelineDefinition1PropertiesArgs(
public val pipelineDefinitionS3Location: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.PipelineDefinition1PropertiesArgs =
com.pulumi.awsnative.sagemaker.inputs.PipelineDefinition1PropertiesArgs.builder()
.pipelineDefinitionS3Location(
pipelineDefinitionS3Location.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [PipelineDefinition1PropertiesArgs].
*/
@PulumiTagMarker
public class PipelineDefinition1PropertiesArgsBuilder internal constructor() {
private var pipelineDefinitionS3Location: Output? = null
/**
* @param value
*/
@JvmName("rgrbbcvumpwagkhc")
public suspend fun pipelineDefinitionS3Location(`value`: Output) {
this.pipelineDefinitionS3Location = value
}
/**
* @param value
*/
@JvmName("owgagkjvntqlqari")
public suspend fun pipelineDefinitionS3Location(`value`: PipelineS3LocationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pipelineDefinitionS3Location = mapped
}
/**
* @param argument
*/
@JvmName("pgjpbshkfmdyfkal")
public suspend fun pipelineDefinitionS3Location(argument: suspend PipelineS3LocationArgsBuilder.() -> Unit) {
val toBeMapped = PipelineS3LocationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.pipelineDefinitionS3Location = mapped
}
internal fun build(): PipelineDefinition1PropertiesArgs = PipelineDefinition1PropertiesArgs(
pipelineDefinitionS3Location = pipelineDefinitionS3Location ?: throw
PulumiNullFieldException("pipelineDefinitionS3Location"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy