com.pulumi.gcp.artifactregistry.kotlin.outputs.RepositoryCleanupPolicyCondition.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.artifactregistry.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property newerThan Match versions newer than a duration.
* @property olderThan Match versions older than a duration.
* @property packageNamePrefixes Match versions by package prefix. Applied on any prefix match.
* @property tagPrefixes Match versions by tag prefix. Applied on any prefix match.
* @property tagState Match versions by tag status.
* Default value is `ANY`.
* Possible values are: `TAGGED`, `UNTAGGED`, `ANY`.
* @property versionNamePrefixes Match versions by version name prefix. Applied on any prefix match.
*/
public data class RepositoryCleanupPolicyCondition(
public val newerThan: String? = null,
public val olderThan: String? = null,
public val packageNamePrefixes: List? = null,
public val tagPrefixes: List? = null,
public val tagState: String? = null,
public val versionNamePrefixes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.artifactregistry.outputs.RepositoryCleanupPolicyCondition): RepositoryCleanupPolicyCondition = RepositoryCleanupPolicyCondition(
newerThan = javaType.newerThan().map({ args0 -> args0 }).orElse(null),
olderThan = javaType.olderThan().map({ args0 -> args0 }).orElse(null),
packageNamePrefixes = javaType.packageNamePrefixes().map({ args0 -> args0 }),
tagPrefixes = javaType.tagPrefixes().map({ args0 -> args0 }),
tagState = javaType.tagState().map({ args0 -> args0 }).orElse(null),
versionNamePrefixes = javaType.versionNamePrefixes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy