com.pulumi.awsnative.backup.kotlin.outputs.GetReportPlanResult.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.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 reportPlanArn An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
* @property reportPlanDescription An optional description of the report plan with a maximum of 1,024 characters.
* @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 GetReportPlanResult(
public val reportDeliveryChannel: ReportDeliveryChannelProperties? = null,
public val reportPlanArn: String? = null,
public val reportPlanDescription: String? = null,
public val reportPlanTags: List? = null,
public val reportSetting: ReportSettingProperties? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.backup.outputs.GetReportPlanResult): GetReportPlanResult = GetReportPlanResult(
reportDeliveryChannel = javaType.reportDeliveryChannel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.backup.kotlin.outputs.ReportDeliveryChannelProperties.Companion.toKotlin(args0)
})
}).orElse(null),
reportPlanArn = javaType.reportPlanArn().map({ args0 -> args0 }).orElse(null),
reportPlanDescription = javaType.reportPlanDescription().map({ args0 -> args0 }).orElse(null),
reportPlanTags = javaType.reportPlanTags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
reportSetting = javaType.reportSetting().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.backup.kotlin.outputs.ReportSettingProperties.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}