All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sagemaker.kotlin.outputs.GetPipelineResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property parallelismConfiguration The parallelism configuration applied to the pipeline.
 * @property pipelineDefinition The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
 * @property pipelineDescription The description of the Pipeline.
 * @property pipelineDisplayName The display name of the Pipeline.
 * @property roleArn Role Arn
 * @property tags The tags of the pipeline.
 */
public data class GetPipelineResult(
    public val parallelismConfiguration: ParallelismConfigurationProperties? = null,
    public val pipelineDefinition: Either? = null,
    public val pipelineDescription: String? = null,
    public val pipelineDisplayName: String? = null,
    public val roleArn: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.GetPipelineResult): GetPipelineResult = GetPipelineResult(
            parallelismConfiguration = javaType.parallelismConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ParallelismConfigurationProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            pipelineDefinition = javaType.pipelineDefinition().map({ args0 ->
                args0.transform(
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.sagemaker.kotlin.outputs.PipelineDefinition0Properties.Companion.toKotlin(args0)
                        })
                    },
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.sagemaker.kotlin.outputs.PipelineDefinition1Properties.Companion.toKotlin(args0)
                        })
                    },
                )
            }).orElse(null),
            pipelineDescription = javaType.pipelineDescription().map({ args0 -> args0 }).orElse(null),
            pipelineDisplayName = javaType.pipelineDisplayName().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy