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

com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamHttpEndpointConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs

import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamHttpEndpointConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property accessKey The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination.
 * @property name The name of the HTTP endpoint selected as the destination.
 * @property url The URL of the HTTP endpoint selected as the destination.
 */
public data class DeliveryStreamHttpEndpointConfigurationArgs(
    public val accessKey: Output? = null,
    public val name: Output? = null,
    public val url: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamHttpEndpointConfigurationArgs =
        com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamHttpEndpointConfigurationArgs.builder()
            .accessKey(accessKey?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .url(url.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DeliveryStreamHttpEndpointConfigurationArgs].
 */
@PulumiTagMarker
public class DeliveryStreamHttpEndpointConfigurationArgsBuilder internal constructor() {
    private var accessKey: Output? = null

    private var name: Output? = null

    private var url: Output? = null

    /**
     * @param value The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination.
     */
    @JvmName("rchbrdgeleloygpv")
    public suspend fun accessKey(`value`: Output) {
        this.accessKey = value
    }

    /**
     * @param value The name of the HTTP endpoint selected as the destination.
     */
    @JvmName("dpvlblucxynhwpyh")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The URL of the HTTP endpoint selected as the destination.
     */
    @JvmName("ugulvjrjavveeily")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

    /**
     * @param value The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination.
     */
    @JvmName("jhriqykkvvnpfuta")
    public suspend fun accessKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessKey = mapped
    }

    /**
     * @param value The name of the HTTP endpoint selected as the destination.
     */
    @JvmName("dxawlqyppjmqqdso")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The URL of the HTTP endpoint selected as the destination.
     */
    @JvmName("nctkwfpptqbiaaxk")
    public suspend fun url(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.url = mapped
    }

    internal fun build(): DeliveryStreamHttpEndpointConfigurationArgs =
        DeliveryStreamHttpEndpointConfigurationArgs(
            accessKey = accessKey,
            name = name,
            url = url ?: throw PulumiNullFieldException("url"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy