
com.pulumi.awsnative.auditmanager.kotlin.inputs.AssessmentReportsDestinationArgs.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.auditmanager.kotlin.inputs
import com.pulumi.awsnative.auditmanager.inputs.AssessmentReportsDestinationArgs.builder
import com.pulumi.awsnative.auditmanager.kotlin.enums.AssessmentReportDestinationType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The destination in which evidence reports are stored for the specified assessment.
* @property destination The destination bucket where Audit Manager stores assessment reports.
* @property destinationType The destination type, such as Amazon S3.
*/
public data class AssessmentReportsDestinationArgs(
public val destination: Output? = null,
public val destinationType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.auditmanager.inputs.AssessmentReportsDestinationArgs =
com.pulumi.awsnative.auditmanager.inputs.AssessmentReportsDestinationArgs.builder()
.destination(destination?.applyValue({ args0 -> args0 }))
.destinationType(
destinationType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AssessmentReportsDestinationArgs].
*/
@PulumiTagMarker
public class AssessmentReportsDestinationArgsBuilder internal constructor() {
private var destination: Output? = null
private var destinationType: Output? = null
/**
* @param value The destination bucket where Audit Manager stores assessment reports.
*/
@JvmName("srvoemukonsfksgg")
public suspend fun destination(`value`: Output) {
this.destination = value
}
/**
* @param value The destination type, such as Amazon S3.
*/
@JvmName("ofmnemnjkqctbvhg")
public suspend fun destinationType(`value`: Output) {
this.destinationType = value
}
/**
* @param value The destination bucket where Audit Manager stores assessment reports.
*/
@JvmName("bgtoqxmoaihngrol")
public suspend fun destination(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.destination = mapped
}
/**
* @param value The destination type, such as Amazon S3.
*/
@JvmName("quwojfcdfbrqgcrd")
public suspend fun destinationType(`value`: AssessmentReportDestinationType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.destinationType = mapped
}
internal fun build(): AssessmentReportsDestinationArgs = AssessmentReportsDestinationArgs(
destination = destination,
destinationType = destinationType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy