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

com.pulumi.gcp.apigee.kotlin.KeystoresAliasesPkcs12Args.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apigee.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigee.KeystoresAliasesPkcs12Args.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * An alias from a pkcs12 file.
 * To get more information about KeystoresAliasesPkcs12, see:
 * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keystores.aliases)
 * * How-to Guides
 *     * [Keystores Aliases](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keystores.aliases)
 * ## Import
 * KeystoresAliasesPkcs12 can be imported using any of these accepted formats:
 * * `organizations/{{org_id}}/environments/{{environment}}/keystores/{{keystore}}/aliases/{{alias}}`
 * * `{{org_id}}/{{environment}}/{{keystore}}/{{alias}}`
 * When using the `pulumi import` command, KeystoresAliasesPkcs12 can be imported using one of the formats above. For example:
 * ```sh
 * $ pulumi import gcp:apigee/keystoresAliasesPkcs12:KeystoresAliasesPkcs12 default organizations/{{org_id}}/environments/{{environment}}/keystores/{{keystore}}/aliases/{{alias}}
 * ```
 * ```sh
 * $ pulumi import gcp:apigee/keystoresAliasesPkcs12:KeystoresAliasesPkcs12 default {{org_id}}/{{environment}}/{{keystore}}/{{alias}}
 * ```
 * @property alias Alias Name
 * @property environment Environment associated with the alias
 * @property file PKCS12 file content
 * - - -
 * @property filehash Hash of the pkcs file
 * @property keystore Keystore Name
 * @property orgId Organization ID associated with the alias, without organization/ prefix
 * @property password Password for the PKCS12 file if it's encrypted
 */
public data class KeystoresAliasesPkcs12Args(
    public val alias: Output? = null,
    public val environment: Output? = null,
    public val `file`: Output? = null,
    public val filehash: Output? = null,
    public val keystore: Output? = null,
    public val orgId: Output? = null,
    public val password: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.apigee.KeystoresAliasesPkcs12Args =
        com.pulumi.gcp.apigee.KeystoresAliasesPkcs12Args.builder()
            .alias(alias?.applyValue({ args0 -> args0 }))
            .environment(environment?.applyValue({ args0 -> args0 }))
            .`file`(`file`?.applyValue({ args0 -> args0 }))
            .filehash(filehash?.applyValue({ args0 -> args0 }))
            .keystore(keystore?.applyValue({ args0 -> args0 }))
            .orgId(orgId?.applyValue({ args0 -> args0 }))
            .password(password?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KeystoresAliasesPkcs12Args].
 */
@PulumiTagMarker
public class KeystoresAliasesPkcs12ArgsBuilder internal constructor() {
    private var alias: Output? = null

    private var environment: Output? = null

    private var `file`: Output? = null

    private var filehash: Output? = null

    private var keystore: Output? = null

    private var orgId: Output? = null

    private var password: Output? = null

    /**
     * @param value Alias Name
     */
    @JvmName("bbeapogostlygguk")
    public suspend fun alias(`value`: Output) {
        this.alias = value
    }

    /**
     * @param value Environment associated with the alias
     */
    @JvmName("odvgewyomojufwle")
    public suspend fun environment(`value`: Output) {
        this.environment = value
    }

    /**
     * @param value PKCS12 file content
     * - - -
     */
    @JvmName("nrfpycyrfrdvfvpa")
    public suspend fun `file`(`value`: Output) {
        this.`file` = value
    }

    /**
     * @param value Hash of the pkcs file
     */
    @JvmName("pgbgbhrfstxfjcek")
    public suspend fun filehash(`value`: Output) {
        this.filehash = value
    }

    /**
     * @param value Keystore Name
     */
    @JvmName("fjgpljnntjxonfdc")
    public suspend fun keystore(`value`: Output) {
        this.keystore = value
    }

    /**
     * @param value Organization ID associated with the alias, without organization/ prefix
     */
    @JvmName("olxcutvbvxhdmwxq")
    public suspend fun orgId(`value`: Output) {
        this.orgId = value
    }

    /**
     * @param value Password for the PKCS12 file if it's encrypted
     */
    @JvmName("nljhvvfaimgeffvy")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value Alias Name
     */
    @JvmName("mmkpctkaqnyixhmc")
    public suspend fun alias(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alias = mapped
    }

    /**
     * @param value Environment associated with the alias
     */
    @JvmName("emtbkunymsikmrhf")
    public suspend fun environment(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environment = mapped
    }

    /**
     * @param value PKCS12 file content
     * - - -
     */
    @JvmName("hwukasyrflfsoobu")
    public suspend fun `file`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`file` = mapped
    }

    /**
     * @param value Hash of the pkcs file
     */
    @JvmName("uobqsranhtqpehpa")
    public suspend fun filehash(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filehash = mapped
    }

    /**
     * @param value Keystore Name
     */
    @JvmName("imvwjpmejvsmeely")
    public suspend fun keystore(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keystore = mapped
    }

    /**
     * @param value Organization ID associated with the alias, without organization/ prefix
     */
    @JvmName("rvhfhpskivpiiurb")
    public suspend fun orgId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.orgId = mapped
    }

    /**
     * @param value Password for the PKCS12 file if it's encrypted
     */
    @JvmName("rxiwvrxdaceqihhl")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    internal fun build(): KeystoresAliasesPkcs12Args = KeystoresAliasesPkcs12Args(
        alias = alias,
        environment = environment,
        `file` = `file`,
        filehash = filehash,
        keystore = keystore,
        orgId = orgId,
        password = password,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy