com.pulumi.awsnative.backup.kotlin.ReportPlanArgs.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.backup.kotlin
import com.pulumi.awsnative.backup.ReportPlanArgs.builder
import com.pulumi.awsnative.backup.kotlin.inputs.ReportDeliveryChannelPropertiesArgs
import com.pulumi.awsnative.backup.kotlin.inputs.ReportDeliveryChannelPropertiesArgsBuilder
import com.pulumi.awsnative.backup.kotlin.inputs.ReportSettingPropertiesArgs
import com.pulumi.awsnative.backup.kotlin.inputs.ReportSettingPropertiesArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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
/**
* Contains detailed information about a report plan in AWS Backup Audit Manager.
* @property reportDeliveryChannel A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
* @property reportPlanDescription An optional description of the report plan with a maximum of 1,024 characters.
* @property reportPlanName The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
* @property reportPlanTags Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
* @property reportSetting Identifies the report template for the report. Reports are built using a report template.
*/
public data class ReportPlanArgs(
public val reportDeliveryChannel: Output? = null,
public val reportPlanDescription: Output? = null,
public val reportPlanName: Output? = null,
public val reportPlanTags: Output>? = null,
public val reportSetting: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.backup.ReportPlanArgs =
com.pulumi.awsnative.backup.ReportPlanArgs.builder()
.reportDeliveryChannel(
reportDeliveryChannel?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.reportPlanDescription(reportPlanDescription?.applyValue({ args0 -> args0 }))
.reportPlanName(reportPlanName?.applyValue({ args0 -> args0 }))
.reportPlanTags(
reportPlanTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.reportSetting(reportSetting?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ReportPlanArgs].
*/
@PulumiTagMarker
public class ReportPlanArgsBuilder internal constructor() {
private var reportDeliveryChannel: Output? = null
private var reportPlanDescription: Output? = null
private var reportPlanName: Output? = null
private var reportPlanTags: Output>? = null
private var reportSetting: Output? = null
/**
* @param value A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
*/
@JvmName("jvglpgiqntlxkytp")
public suspend fun reportDeliveryChannel(`value`: Output) {
this.reportDeliveryChannel = value
}
/**
* @param value An optional description of the report plan with a maximum of 1,024 characters.
*/
@JvmName("tegwikcwirsfnrdj")
public suspend fun reportPlanDescription(`value`: Output) {
this.reportPlanDescription = value
}
/**
* @param value The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
*/
@JvmName("ltkjomcihpsvrqod")
public suspend fun reportPlanName(`value`: Output) {
this.reportPlanName = value
}
/**
* @param value Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
*/
@JvmName("gmcwungfobmywnni")
public suspend fun reportPlanTags(`value`: Output>) {
this.reportPlanTags = value
}
@JvmName("lpdtrjvwuruvylid")
public suspend fun reportPlanTags(vararg values: Output) {
this.reportPlanTags = Output.all(values.asList())
}
/**
* @param values Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
*/
@JvmName("uutpfbrpbdvhhurb")
public suspend fun reportPlanTags(values: List