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

com.pulumi.awsnative.datasync.kotlin.inputs.LocationHdfsQopConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datasync.kotlin.inputs

import com.pulumi.awsnative.datasync.inputs.LocationHdfsQopConfigurationArgs.builder
import com.pulumi.awsnative.datasync.kotlin.enums.LocationHdfsQopConfigurationDataTransferProtection
import com.pulumi.awsnative.datasync.kotlin.enums.LocationHdfsQopConfigurationRpcProtection
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Configuration information for RPC Protection and Data Transfer Protection. These parameters can be set to AUTHENTICATION, INTEGRITY, or PRIVACY. The default value is PRIVACY.
 * @property dataTransferProtection Configuration for Data Transfer Protection.
 * @property rpcProtection Configuration for RPC Protection.
 */
public data class LocationHdfsQopConfigurationArgs(
    public val dataTransferProtection: Output? =
        null,
    public val rpcProtection: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datasync.inputs.LocationHdfsQopConfigurationArgs =
        com.pulumi.awsnative.datasync.inputs.LocationHdfsQopConfigurationArgs.builder()
            .dataTransferProtection(
                dataTransferProtection?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .rpcProtection(rpcProtection?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [LocationHdfsQopConfigurationArgs].
 */
@PulumiTagMarker
public class LocationHdfsQopConfigurationArgsBuilder internal constructor() {
    private var dataTransferProtection: Output? =
        null

    private var rpcProtection: Output? = null

    /**
     * @param value Configuration for Data Transfer Protection.
     */
    @JvmName("jbgylajsckwshvpe")
    public suspend fun dataTransferProtection(`value`: Output) {
        this.dataTransferProtection = value
    }

    /**
     * @param value Configuration for RPC Protection.
     */
    @JvmName("jtccbmssjhnelfkv")
    public suspend fun rpcProtection(`value`: Output) {
        this.rpcProtection = value
    }

    /**
     * @param value Configuration for Data Transfer Protection.
     */
    @JvmName("xmtpajjifdouhhmk")
    public suspend fun dataTransferProtection(`value`: LocationHdfsQopConfigurationDataTransferProtection?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataTransferProtection = mapped
    }

    /**
     * @param value Configuration for RPC Protection.
     */
    @JvmName("xnewcshxdeggtjqf")
    public suspend fun rpcProtection(`value`: LocationHdfsQopConfigurationRpcProtection?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rpcProtection = mapped
    }

    internal fun build(): LocationHdfsQopConfigurationArgs = LocationHdfsQopConfigurationArgs(
        dataTransferProtection = dataTransferProtection,
        rpcProtection = rpcProtection,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy