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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkehub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property git Git repo configuration for the cluster
 * Structure is documented below.
 * @property oci OCI repo configuration for the cluster
 * Structure is documented below.
 * @property sourceFormat Specifies whether the Config Sync Repo is in hierarchical or unstructured mode
 */
public data class FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs(
    public val git: Output? = null,
    public val oci: Output? = null,
    public val sourceFormat: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs.builder()
            .git(git?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .oci(oci?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sourceFormat(sourceFormat?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs].
 */
@PulumiTagMarker
public class FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgsBuilder internal constructor() {
    private var git: Output? = null

    private var oci: Output? = null

    private var sourceFormat: Output? = null

    /**
     * @param value Git repo configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("cjwopelbhpwjvehd")
    public suspend fun git(`value`: Output) {
        this.git = value
    }

    /**
     * @param value OCI repo configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("iwjypnbqlyanejih")
    public suspend fun oci(`value`: Output) {
        this.oci = value
    }

    /**
     * @param value Specifies whether the Config Sync Repo is in hierarchical or unstructured mode
     */
    @JvmName("llyoegpvqxogdiek")
    public suspend fun sourceFormat(`value`: Output) {
        this.sourceFormat = value
    }

    /**
     * @param value Git repo configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("sejokandhgfhimyw")
    public suspend fun git(`value`: FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.git = mapped
    }

    /**
     * @param argument Git repo configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("mwnpbuwogivdxxig")
    public suspend fun git(argument: suspend FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgsBuilder.() -> Unit) {
        val toBeMapped =
            FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.git = mapped
    }

    /**
     * @param value OCI repo configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("dqkxhbcdmynoygok")
    public suspend fun oci(`value`: FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oci = mapped
    }

    /**
     * @param argument OCI repo configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("ivcielurmeikrftt")
    public suspend fun oci(argument: suspend FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciArgsBuilder.() -> Unit) {
        val toBeMapped =
            FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOciArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.oci = mapped
    }

    /**
     * @param value Specifies whether the Config Sync Repo is in hierarchical or unstructured mode
     */
    @JvmName("gcvttfsinshfkrfv")
    public suspend fun sourceFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceFormat = mapped
    }

    internal fun build(): FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs =
        FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs(
            git = git,
            oci = oci,
            sourceFormat = sourceFormat,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy