com.pulumi.aws.ec2.kotlin.inputs.LaunchConfigurationRootBlockDeviceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.ec2.kotlin.inputs
import com.pulumi.aws.ec2.inputs.LaunchConfigurationRootBlockDeviceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property deleteOnTermination
* @property encrypted
* @property iops
* @property throughput
* @property volumeSize
* @property volumeType
*/
public data class LaunchConfigurationRootBlockDeviceArgs(
public val deleteOnTermination: Output? = null,
public val encrypted: Output? = null,
public val iops: Output? = null,
public val throughput: Output? = null,
public val volumeSize: Output? = null,
public val volumeType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ec2.inputs.LaunchConfigurationRootBlockDeviceArgs =
com.pulumi.aws.ec2.inputs.LaunchConfigurationRootBlockDeviceArgs.builder()
.deleteOnTermination(deleteOnTermination?.applyValue({ args0 -> args0 }))
.encrypted(encrypted?.applyValue({ args0 -> args0 }))
.iops(iops?.applyValue({ args0 -> args0 }))
.throughput(throughput?.applyValue({ args0 -> args0 }))
.volumeSize(volumeSize?.applyValue({ args0 -> args0 }))
.volumeType(volumeType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LaunchConfigurationRootBlockDeviceArgs].
*/
@PulumiTagMarker
public class LaunchConfigurationRootBlockDeviceArgsBuilder internal constructor() {
private var deleteOnTermination: Output? = null
private var encrypted: Output? = null
private var iops: Output? = null
private var throughput: Output? = null
private var volumeSize: Output? = null
private var volumeType: Output? = null
/**
* @param value
*/
@JvmName("luxldvxcrlphpove")
public suspend fun deleteOnTermination(`value`: Output) {
this.deleteOnTermination = value
}
/**
* @param value
*/
@JvmName("ujcplalojxlsotix")
public suspend fun encrypted(`value`: Output) {
this.encrypted = value
}
/**
* @param value
*/
@JvmName("ghxbnbrbcjlvtrmc")
public suspend fun iops(`value`: Output) {
this.iops = value
}
/**
* @param value
*/
@JvmName("rhjavuuuiqrshieb")
public suspend fun throughput(`value`: Output) {
this.throughput = value
}
/**
* @param value
*/
@JvmName("wojybertlxdeeifw")
public suspend fun volumeSize(`value`: Output) {
this.volumeSize = value
}
/**
* @param value
*/
@JvmName("llrdudpshknrbwbw")
public suspend fun volumeType(`value`: Output) {
this.volumeType = value
}
/**
* @param value
*/
@JvmName("ilgorlvkaikudrff")
public suspend fun deleteOnTermination(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deleteOnTermination = mapped
}
/**
* @param value
*/
@JvmName("vmxstoanidbnbvvw")
public suspend fun encrypted(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encrypted = mapped
}
/**
* @param value
*/
@JvmName("picsqhxhtgxtlnnq")
public suspend fun iops(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iops = mapped
}
/**
* @param value
*/
@JvmName("xwbatfsfuqyygeas")
public suspend fun throughput(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.throughput = mapped
}
/**
* @param value
*/
@JvmName("gmmdxnunfgajhjuu")
public suspend fun volumeSize(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.volumeSize = mapped
}
/**
* @param value
*/
@JvmName("lvxuqramteurlfyk")
public suspend fun volumeType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.volumeType = mapped
}
internal fun build(): LaunchConfigurationRootBlockDeviceArgs =
LaunchConfigurationRootBlockDeviceArgs(
deleteOnTermination = deleteOnTermination,
encrypted = encrypted,
iops = iops,
throughput = throughput,
volumeSize = volumeSize,
volumeType = volumeType,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy