com.pulumi.gcp.healthcare.kotlin.inputs.Hl7StoreParserConfigArgs.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.healthcare.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.healthcare.inputs.Hl7StoreParserConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property allowNullHeader Determines whether messages with no header are allowed.
* @property schema JSON encoded string for schemas used to parse messages in this
* store if schematized parsing is desired.
* @property segmentTerminator Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator.
* A base64-encoded string.
* @property version The version of the unschematized parser to be used when a custom `schema` is not set.
* Default value is `V1`.
* Possible values are: `V1`, `V2`, `V3`.
*/
public data class Hl7StoreParserConfigArgs(
public val allowNullHeader: Output? = null,
public val schema: Output? = null,
public val segmentTerminator: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.Hl7StoreParserConfigArgs =
com.pulumi.gcp.healthcare.inputs.Hl7StoreParserConfigArgs.builder()
.allowNullHeader(allowNullHeader?.applyValue({ args0 -> args0 }))
.schema(schema?.applyValue({ args0 -> args0 }))
.segmentTerminator(segmentTerminator?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [Hl7StoreParserConfigArgs].
*/
@PulumiTagMarker
public class Hl7StoreParserConfigArgsBuilder internal constructor() {
private var allowNullHeader: Output? = null
private var schema: Output? = null
private var segmentTerminator: Output? = null
private var version: Output? = null
/**
* @param value Determines whether messages with no header are allowed.
*/
@JvmName("qkinfrxgvgrukfma")
public suspend fun allowNullHeader(`value`: Output) {
this.allowNullHeader = value
}
/**
* @param value JSON encoded string for schemas used to parse messages in this
* store if schematized parsing is desired.
*/
@JvmName("ydcaumrxknmmfkwa")
public suspend fun schema(`value`: Output) {
this.schema = value
}
/**
* @param value Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator.
* A base64-encoded string.
*/
@JvmName("yvgfaihhvagxtfex")
public suspend fun segmentTerminator(`value`: Output) {
this.segmentTerminator = value
}
/**
* @param value The version of the unschematized parser to be used when a custom `schema` is not set.
* Default value is `V1`.
* Possible values are: `V1`, `V2`, `V3`.
*/
@JvmName("cxcppokeekgstsaq")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Determines whether messages with no header are allowed.
*/
@JvmName("ooccqrqderrqjpjf")
public suspend fun allowNullHeader(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.allowNullHeader = mapped
}
/**
* @param value JSON encoded string for schemas used to parse messages in this
* store if schematized parsing is desired.
*/
@JvmName("nurxlrfbovusjfsu")
public suspend fun schema(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schema = mapped
}
/**
* @param value Byte(s) to be used as the segment terminator. If this is unset, '\r' will be used as segment terminator.
* A base64-encoded string.
*/
@JvmName("vjcahknjtgqqvorh")
public suspend fun segmentTerminator(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.segmentTerminator = mapped
}
/**
* @param value The version of the unschematized parser to be used when a custom `schema` is not set.
* Default value is `V1`.
* Possible values are: `V1`, `V2`, `V3`.
*/
@JvmName("bntuynlmomhtirgs")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): Hl7StoreParserConfigArgs = Hl7StoreParserConfigArgs(
allowNullHeader = allowNullHeader,
schema = schema,
segmentTerminator = segmentTerminator,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy