
com.pulumi.awsnative.networkmanager.kotlin.outputs.ConnectAttachmentProposedSegmentChange.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkmanager.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The attachment to move from one segment to another.
* @property attachmentPolicyRuleNumber The rule number in the policy document that applies to this change.
* @property segmentName The name of the segment to change.
* @property tags The list of key-value tags that changed for the segment.
*/
public data class ConnectAttachmentProposedSegmentChange(
public val attachmentPolicyRuleNumber: Int? = null,
public val segmentName: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkmanager.outputs.ConnectAttachmentProposedSegmentChange): ConnectAttachmentProposedSegmentChange = ConnectAttachmentProposedSegmentChange(
attachmentPolicyRuleNumber = javaType.attachmentPolicyRuleNumber().map({ args0 ->
args0
}).orElse(null),
segmentName = javaType.segmentName().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkmanager.kotlin.outputs.ConnectAttachmentTag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy