com.pulumi.gcp.secretmanager.kotlin.inputs.GetSecretsPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.secretmanager.kotlin.inputs
import com.pulumi.gcp.secretmanager.inputs.GetSecretsPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getSecrets.
* @property filter Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed.
* @property project The ID of the project.
*/
public data class GetSecretsPlainArgs(
public val filter: String? = null,
public val project: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.secretmanager.inputs.GetSecretsPlainArgs =
com.pulumi.gcp.secretmanager.inputs.GetSecretsPlainArgs.builder()
.filter(filter?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSecretsPlainArgs].
*/
@PulumiTagMarker
public class GetSecretsPlainArgsBuilder internal constructor() {
private var filter: String? = null
private var project: String? = null
/**
* @param value Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed.
*/
@JvmName("fcltiyeurnmcjmue")
public suspend fun filter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.filter = mapped
}
/**
* @param value The ID of the project.
*/
@JvmName("tbmukkstahdxnmoc")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetSecretsPlainArgs = GetSecretsPlainArgs(
filter = filter,
project = project,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy