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

com.pulumi.awsnative.databrew.kotlin.outputs.DatasetPathOptions.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.databrew.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * Path options for dataset
 * @property filesLimit If provided, this structure imposes a limit on a number of files that should be selected.
 * @property lastModifiedDateCondition If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .
 * @property parameters A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
 */
public data class DatasetPathOptions(
    public val filesLimit: DatasetFilesLimit? = null,
    public val lastModifiedDateCondition: DatasetFilterExpression? = null,
    public val parameters: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.DatasetPathOptions): DatasetPathOptions = DatasetPathOptions(
            filesLimit = javaType.filesLimit().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.DatasetFilesLimit.Companion.toKotlin(args0)
                })
            }).orElse(null),
            lastModifiedDateCondition = javaType.lastModifiedDateCondition().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.DatasetFilterExpression.Companion.toKotlin(args0)
                })
            }).orElse(null),
            parameters = javaType.parameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.DatasetPathParameter.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy