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

com.pulumi.awsnative.ec2.kotlin.inputs.NetworkInsightsAccessScopePathStatementRequestArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.NetworkInsightsAccessScopePathStatementRequestArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property packetHeaderStatement The packet header statement.
 * @property resourceStatement The resource statement.
 */
public data class NetworkInsightsAccessScopePathStatementRequestArgs(
    public val packetHeaderStatement: Output? = null,
    public val resourceStatement: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.NetworkInsightsAccessScopePathStatementRequestArgs =
        com.pulumi.awsnative.ec2.inputs.NetworkInsightsAccessScopePathStatementRequestArgs.builder()
            .packetHeaderStatement(
                packetHeaderStatement?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .resourceStatement(
                resourceStatement?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [NetworkInsightsAccessScopePathStatementRequestArgs].
 */
@PulumiTagMarker
public class NetworkInsightsAccessScopePathStatementRequestArgsBuilder internal constructor() {
    private var packetHeaderStatement:
        Output? = null

    private var resourceStatement: Output? =
        null

    /**
     * @param value The packet header statement.
     */
    @JvmName("hohtynikapdiecol")
    public suspend fun packetHeaderStatement(`value`: Output) {
        this.packetHeaderStatement = value
    }

    /**
     * @param value The resource statement.
     */
    @JvmName("wjyosuegganrjlyq")
    public suspend fun resourceStatement(`value`: Output) {
        this.resourceStatement = value
    }

    /**
     * @param value The packet header statement.
     */
    @JvmName("equgqaahhwphpmvv")
    public suspend fun packetHeaderStatement(`value`: NetworkInsightsAccessScopePacketHeaderStatementRequestArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.packetHeaderStatement = mapped
    }

    /**
     * @param argument The packet header statement.
     */
    @JvmName("fugxdljpmscsqswh")
    public suspend fun packetHeaderStatement(argument: suspend NetworkInsightsAccessScopePacketHeaderStatementRequestArgsBuilder.() -> Unit) {
        val toBeMapped =
            NetworkInsightsAccessScopePacketHeaderStatementRequestArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.packetHeaderStatement = mapped
    }

    /**
     * @param value The resource statement.
     */
    @JvmName("lurrcpulfiipvxjo")
    public suspend fun resourceStatement(`value`: NetworkInsightsAccessScopeResourceStatementRequestArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceStatement = mapped
    }

    /**
     * @param argument The resource statement.
     */
    @JvmName("lnefertddptkgrgl")
    public suspend fun resourceStatement(argument: suspend NetworkInsightsAccessScopeResourceStatementRequestArgsBuilder.() -> Unit) {
        val toBeMapped = NetworkInsightsAccessScopeResourceStatementRequestArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.resourceStatement = mapped
    }

    internal fun build(): NetworkInsightsAccessScopePathStatementRequestArgs =
        NetworkInsightsAccessScopePathStatementRequestArgs(
            packetHeaderStatement = packetHeaderStatement,
            resourceStatement = resourceStatement,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy