
com.pulumi.awsnative.networkmanager.kotlin.inputs.VpcAttachmentProposedSegmentChangeArgs.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.networkmanager.kotlin.inputs
import com.pulumi.awsnative.networkmanager.inputs.VpcAttachmentProposedSegmentChangeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 key-value tags that changed for the segment.
*/
public data class VpcAttachmentProposedSegmentChangeArgs(
public val attachmentPolicyRuleNumber: Output? = null,
public val segmentName: Output? = null,
public val tags: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkmanager.inputs.VpcAttachmentProposedSegmentChangeArgs =
com.pulumi.awsnative.networkmanager.inputs.VpcAttachmentProposedSegmentChangeArgs.builder()
.attachmentPolicyRuleNumber(attachmentPolicyRuleNumber?.applyValue({ args0 -> args0 }))
.segmentName(segmentName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [VpcAttachmentProposedSegmentChangeArgs].
*/
@PulumiTagMarker
public class VpcAttachmentProposedSegmentChangeArgsBuilder internal constructor() {
private var attachmentPolicyRuleNumber: Output? = null
private var segmentName: Output? = null
private var tags: Output>? = null
/**
* @param value The rule number in the policy document that applies to this change.
*/
@JvmName("qnaidwlgqfqoahgj")
public suspend fun attachmentPolicyRuleNumber(`value`: Output) {
this.attachmentPolicyRuleNumber = value
}
/**
* @param value The name of the segment to change.
*/
@JvmName("ubipuxwrhskkpyaq")
public suspend fun segmentName(`value`: Output) {
this.segmentName = value
}
/**
* @param value The key-value tags that changed for the segment.
*/
@JvmName("xqqitfqgcjcudxsy")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("gakxxyhvgxpptyxc")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The key-value tags that changed for the segment.
*/
@JvmName("aywbmdjwqwelayom")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy