commonMain.aws.sdk.kotlin.services.databrew.model.S3TableOutputOptions.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
/**
* Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs.
*/
public class S3TableOutputOptions private constructor(builder: Builder) {
/**
* Represents an Amazon S3 location (bucket name and object key) where DataBrew can write output from a job.
*/
public val location: aws.sdk.kotlin.services.databrew.model.S3Location? = builder.location
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.S3TableOutputOptions = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("S3TableOutputOptions(")
append("location=$location)")
}
override fun hashCode(): kotlin.Int {
var result = location?.hashCode() ?: 0
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 S3TableOutputOptions
if (location != other.location) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.S3TableOutputOptions = Builder(this).apply(block).build()
public class Builder {
/**
* Represents an Amazon S3 location (bucket name and object key) where DataBrew can write output from a job.
*/
public var location: aws.sdk.kotlin.services.databrew.model.S3Location? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.S3TableOutputOptions) : this() {
this.location = x.location
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.S3TableOutputOptions = S3TableOutputOptions(this)
/**
* construct an [aws.sdk.kotlin.services.databrew.model.S3Location] inside the given [block]
*/
public fun location(block: aws.sdk.kotlin.services.databrew.model.S3Location.Builder.() -> kotlin.Unit) {
this.location = aws.sdk.kotlin.services.databrew.model.S3Location.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy