![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lookoutmetrics.kotlin.inputs.AnomalyDetectorS3SourceConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lookoutmetrics.kotlin.inputs
import com.pulumi.awsnative.lookoutmetrics.inputs.AnomalyDetectorS3SourceConfigArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property fileFormatDescriptor Contains information about a source file's formatting.
* @property historicalDataPathList A list of paths to the historical data files.
* @property roleArn The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
* @property templatedPathList A list of templated paths to the source files.
*/
public data class AnomalyDetectorS3SourceConfigArgs(
public val fileFormatDescriptor: Output,
public val historicalDataPathList: Output>? = null,
public val roleArn: Output,
public val templatedPathList: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lookoutmetrics.inputs.AnomalyDetectorS3SourceConfigArgs =
com.pulumi.awsnative.lookoutmetrics.inputs.AnomalyDetectorS3SourceConfigArgs.builder()
.fileFormatDescriptor(
fileFormatDescriptor.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.historicalDataPathList(
historicalDataPathList?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.templatedPathList(templatedPathList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AnomalyDetectorS3SourceConfigArgs].
*/
@PulumiTagMarker
public class AnomalyDetectorS3SourceConfigArgsBuilder internal constructor() {
private var fileFormatDescriptor: Output? = null
private var historicalDataPathList: Output>? = null
private var roleArn: Output? = null
private var templatedPathList: Output>? = null
/**
* @param value Contains information about a source file's formatting.
*/
@JvmName("ypwxspplmcysmdup")
public suspend fun fileFormatDescriptor(`value`: Output) {
this.fileFormatDescriptor = value
}
/**
* @param value A list of paths to the historical data files.
*/
@JvmName("kvjxixshodwxsmnn")
public suspend fun historicalDataPathList(`value`: Output>) {
this.historicalDataPathList = value
}
@JvmName("tbbywutdbviqaicj")
public suspend fun historicalDataPathList(vararg values: Output) {
this.historicalDataPathList = Output.all(values.asList())
}
/**
* @param values A list of paths to the historical data files.
*/
@JvmName("dhamphsekygrbivo")
public suspend fun historicalDataPathList(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy