Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.storage.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.storage.inputs.TransferJobTransferSpecObjectConditionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property excludePrefixes `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
* @property includePrefixes If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
* @property lastModifiedBefore If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property lastModifiedSince If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property maxTimeElapsedSinceLastModification A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
* @property minTimeElapsedSinceLastModification A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
public data class TransferJobTransferSpecObjectConditionsArgs(
public val excludePrefixes: Output>? = null,
public val includePrefixes: Output>? = null,
public val lastModifiedBefore: Output? = null,
public val lastModifiedSince: Output? = null,
public val maxTimeElapsedSinceLastModification: Output? = null,
public val minTimeElapsedSinceLastModification: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.storage.inputs.TransferJobTransferSpecObjectConditionsArgs =
com.pulumi.gcp.storage.inputs.TransferJobTransferSpecObjectConditionsArgs.builder()
.excludePrefixes(excludePrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includePrefixes(includePrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.lastModifiedBefore(lastModifiedBefore?.applyValue({ args0 -> args0 }))
.lastModifiedSince(lastModifiedSince?.applyValue({ args0 -> args0 }))
.maxTimeElapsedSinceLastModification(
maxTimeElapsedSinceLastModification?.applyValue({ args0 ->
args0
}),
)
.minTimeElapsedSinceLastModification(
minTimeElapsedSinceLastModification?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [TransferJobTransferSpecObjectConditionsArgs].
*/
@PulumiTagMarker
public class TransferJobTransferSpecObjectConditionsArgsBuilder internal constructor() {
private var excludePrefixes: Output>? = null
private var includePrefixes: Output>? = null
private var lastModifiedBefore: Output? = null
private var lastModifiedSince: Output? = null
private var maxTimeElapsedSinceLastModification: Output? = null
private var minTimeElapsedSinceLastModification: Output? = null
/**
* @param value `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
*/
@JvmName("qvccjfajwiexcdkj")
public suspend fun excludePrefixes(`value`: Output>) {
this.excludePrefixes = value
}
@JvmName("igruqpcdlexcjirj")
public suspend fun excludePrefixes(vararg values: Output) {
this.excludePrefixes = Output.all(values.asList())
}
/**
* @param values `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
*/
@JvmName("fwqntaxhugvwaqqr")
public suspend fun excludePrefixes(values: List