commonMain.aws.sdk.kotlin.services.databrew.model.JsonOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Represents the JSON-specific options that define how input is to be interpreted by Glue DataBrew.
*/
public class JsonOptions private constructor(builder: Builder) {
/**
* A value that specifies whether JSON input contains embedded new line characters.
*/
public val multiLine: kotlin.Boolean = builder.multiLine
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.JsonOptions = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("JsonOptions(")
append("multiLine=$multiLine")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = multiLine.hashCode()
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as JsonOptions
if (multiLine != other.multiLine) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.JsonOptions = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A value that specifies whether JSON input contains embedded new line characters.
*/
public var multiLine: kotlin.Boolean = false
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.JsonOptions) : this() {
this.multiLine = x.multiLine
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.JsonOptions = JsonOptions(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy