![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.inputs.SpotFleetPrivateIpAddressSpecificationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.SpotFleetPrivateIpAddressSpecificationArgs.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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property primary Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
* @property privateIpAddress The private IPv4 address.
*/
public data class SpotFleetPrivateIpAddressSpecificationArgs(
public val primary: Output? = null,
public val privateIpAddress: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.SpotFleetPrivateIpAddressSpecificationArgs = com.pulumi.awsnative.ec2.inputs.SpotFleetPrivateIpAddressSpecificationArgs.builder()
.primary(primary?.applyValue({ args0 -> args0 }))
.privateIpAddress(privateIpAddress.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SpotFleetPrivateIpAddressSpecificationArgs].
*/
@PulumiTagMarker
public class SpotFleetPrivateIpAddressSpecificationArgsBuilder internal constructor() {
private var primary: Output? = null
private var privateIpAddress: Output? = null
/**
* @param value Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
*/
@JvmName("seqgfowrgfyqiloq")
public suspend fun primary(`value`: Output) {
this.primary = value
}
/**
* @param value The private IPv4 address.
*/
@JvmName("gbskdiuejcrrysii")
public suspend fun privateIpAddress(`value`: Output) {
this.privateIpAddress = value
}
/**
* @param value Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
*/
@JvmName("ftxaqkvqiasvygpa")
public suspend fun primary(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primary = mapped
}
/**
* @param value The private IPv4 address.
*/
@JvmName("vyhttbhjufwqphyg")
public suspend fun privateIpAddress(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.privateIpAddress = mapped
}
internal fun build(): SpotFleetPrivateIpAddressSpecificationArgs =
SpotFleetPrivateIpAddressSpecificationArgs(
primary = primary,
privateIpAddress = privateIpAddress ?: throw PulumiNullFieldException("privateIpAddress"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy