com.pulumi.googlenative.logging.v2.kotlin.FolderBucketViewArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.logging.v2.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.logging.v2.FolderBucketViewArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
* Auto-naming is currently not supported for this resource.
* @property bucketId
* @property description Describes this view.
* @property filter Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
* @property folderId
* @property location
* @property name The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
* @property viewId Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
*/
public data class FolderBucketViewArgs(
public val bucketId: Output? = null,
public val description: Output? = null,
public val filter: Output? = null,
public val folderId: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val viewId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.logging.v2.FolderBucketViewArgs =
com.pulumi.googlenative.logging.v2.FolderBucketViewArgs.builder()
.bucketId(bucketId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.filter(filter?.applyValue({ args0 -> args0 }))
.folderId(folderId?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.viewId(viewId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FolderBucketViewArgs].
*/
@PulumiTagMarker
public class FolderBucketViewArgsBuilder internal constructor() {
private var bucketId: Output? = null
private var description: Output? = null
private var filter: Output? = null
private var folderId: Output? = null
private var location: Output? = null
private var name: Output? = null
private var viewId: Output? = null
/**
* @param value
*/
@JvmName("vgdrcqxmgpohlfvm")
public suspend fun bucketId(`value`: Output) {
this.bucketId = value
}
/**
* @param value Describes this view.
*/
@JvmName("iujvnvivsciuchrw")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
*/
@JvmName("reaivigoxidymmgr")
public suspend fun filter(`value`: Output) {
this.filter = value
}
/**
* @param value
*/
@JvmName("ljkgmxwhhufeuexo")
public suspend fun folderId(`value`: Output) {
this.folderId = value
}
/**
* @param value
*/
@JvmName("owoiaskdtvlotvsq")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
*/
@JvmName("qryebbigsmitxerg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
*/
@JvmName("kbitnubivyoncpas")
public suspend fun viewId(`value`: Output) {
this.viewId = value
}
/**
* @param value
*/
@JvmName("fjbjhyfijbffcyyu")
public suspend fun bucketId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucketId = mapped
}
/**
* @param value Describes this view.
*/
@JvmName("iokwyysdmwauqrlv")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
*/
@JvmName("rywbghyjoxrtjxfk")
public suspend fun filter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filter = mapped
}
/**
* @param value
*/
@JvmName("sdspknqnejtntwxr")
public suspend fun folderId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.folderId = mapped
}
/**
* @param value
*/
@JvmName("vwfosevqypdhtjto")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
*/
@JvmName("rbfumacdvxgyslfp")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
*/
@JvmName("rmtnpfikjwjoddon")
public suspend fun viewId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.viewId = mapped
}
internal fun build(): FolderBucketViewArgs = FolderBucketViewArgs(
bucketId = bucketId,
description = description,
filter = filter,
folderId = folderId,
location = location,
name = name,
viewId = viewId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy