All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.outputs.SpotFleetPrivateIpAddressSpecification.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 SpotFleetPrivateIpAddressSpecification(
    public val primary: Boolean? = null,
    public val privateIpAddress: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.SpotFleetPrivateIpAddressSpecification): SpotFleetPrivateIpAddressSpecification = SpotFleetPrivateIpAddressSpecification(
            primary = javaType.primary().map({ args0 -> args0 }).orElse(null),
            privateIpAddress = javaType.privateIpAddress(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy