commonMain.aws.sdk.kotlin.services.databrew.model.DescribeDatasetResponse.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.time.Instant
public class DescribeDatasetResponse private constructor(builder: Builder) {
/**
* The date and time that the dataset was created.
*/
public val createDate: aws.smithy.kotlin.runtime.time.Instant? = builder.createDate
/**
* The identifier (user name) of the user who created the dataset.
*/
public val createdBy: kotlin.String? = builder.createdBy
/**
* The file format of a dataset that is created from an Amazon S3 file or folder.
*/
public val format: aws.sdk.kotlin.services.databrew.model.InputFormat? = builder.format
/**
* Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
*/
public val formatOptions: aws.sdk.kotlin.services.databrew.model.FormatOptions? = builder.formatOptions
/**
* Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
*/
public val input: aws.sdk.kotlin.services.databrew.model.Input? = builder.input
/**
* The identifier (user name) of the user who last modified the dataset.
*/
public val lastModifiedBy: kotlin.String? = builder.lastModifiedBy
/**
* The date and time that the dataset was last modified.
*/
public val lastModifiedDate: aws.smithy.kotlin.runtime.time.Instant? = builder.lastModifiedDate
/**
* The name of the dataset.
*/
public val name: kotlin.String? = builder.name
/**
* A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
*/
public val pathOptions: aws.sdk.kotlin.services.databrew.model.PathOptions? = builder.pathOptions
/**
* The Amazon Resource Name (ARN) of the dataset.
*/
public val resourceArn: kotlin.String? = builder.resourceArn
/**
* The location of the data for this dataset, Amazon S3 or the Glue Data Catalog.
*/
public val source: aws.sdk.kotlin.services.databrew.model.Source? = builder.source
/**
* Metadata tags associated with this dataset.
*/
public val tags: Map? = builder.tags
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.DescribeDatasetResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeDatasetResponse(")
append("createDate=$createDate,")
append("createdBy=$createdBy,")
append("format=$format,")
append("formatOptions=$formatOptions,")
append("input=$input,")
append("lastModifiedBy=$lastModifiedBy,")
append("lastModifiedDate=$lastModifiedDate,")
append("name=$name,")
append("pathOptions=$pathOptions,")
append("resourceArn=$resourceArn,")
append("source=$source,")
append("tags=$tags)")
}
override fun hashCode(): kotlin.Int {
var result = createDate?.hashCode() ?: 0
result = 31 * result + (createdBy?.hashCode() ?: 0)
result = 31 * result + (format?.hashCode() ?: 0)
result = 31 * result + (formatOptions?.hashCode() ?: 0)
result = 31 * result + (input?.hashCode() ?: 0)
result = 31 * result + (lastModifiedBy?.hashCode() ?: 0)
result = 31 * result + (lastModifiedDate?.hashCode() ?: 0)
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (pathOptions?.hashCode() ?: 0)
result = 31 * result + (resourceArn?.hashCode() ?: 0)
result = 31 * result + (source?.hashCode() ?: 0)
result = 31 * result + (tags?.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 DescribeDatasetResponse
if (createDate != other.createDate) return false
if (createdBy != other.createdBy) return false
if (format != other.format) return false
if (formatOptions != other.formatOptions) return false
if (input != other.input) return false
if (lastModifiedBy != other.lastModifiedBy) return false
if (lastModifiedDate != other.lastModifiedDate) return false
if (name != other.name) return false
if (pathOptions != other.pathOptions) return false
if (resourceArn != other.resourceArn) return false
if (source != other.source) return false
if (tags != other.tags) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.DescribeDatasetResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The date and time that the dataset was created.
*/
public var createDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The identifier (user name) of the user who created the dataset.
*/
public var createdBy: kotlin.String? = null
/**
* The file format of a dataset that is created from an Amazon S3 file or folder.
*/
public var format: aws.sdk.kotlin.services.databrew.model.InputFormat? = null
/**
* Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
*/
public var formatOptions: aws.sdk.kotlin.services.databrew.model.FormatOptions? = null
/**
* Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
*/
public var input: aws.sdk.kotlin.services.databrew.model.Input? = null
/**
* The identifier (user name) of the user who last modified the dataset.
*/
public var lastModifiedBy: kotlin.String? = null
/**
* The date and time that the dataset was last modified.
*/
public var lastModifiedDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The name of the dataset.
*/
public var name: kotlin.String? = null
/**
* A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
*/
public var pathOptions: aws.sdk.kotlin.services.databrew.model.PathOptions? = null
/**
* The Amazon Resource Name (ARN) of the dataset.
*/
public var resourceArn: kotlin.String? = null
/**
* The location of the data for this dataset, Amazon S3 or the Glue Data Catalog.
*/
public var source: aws.sdk.kotlin.services.databrew.model.Source? = null
/**
* Metadata tags associated with this dataset.
*/
public var tags: Map? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.DescribeDatasetResponse) : this() {
this.createDate = x.createDate
this.createdBy = x.createdBy
this.format = x.format
this.formatOptions = x.formatOptions
this.input = x.input
this.lastModifiedBy = x.lastModifiedBy
this.lastModifiedDate = x.lastModifiedDate
this.name = x.name
this.pathOptions = x.pathOptions
this.resourceArn = x.resourceArn
this.source = x.source
this.tags = x.tags
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.DescribeDatasetResponse = DescribeDatasetResponse(this)
/**
* construct an [aws.sdk.kotlin.services.databrew.model.FormatOptions] inside the given [block]
*/
public fun formatOptions(block: aws.sdk.kotlin.services.databrew.model.FormatOptions.Builder.() -> kotlin.Unit) {
this.formatOptions = aws.sdk.kotlin.services.databrew.model.FormatOptions.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.databrew.model.Input] inside the given [block]
*/
public fun input(block: aws.sdk.kotlin.services.databrew.model.Input.Builder.() -> kotlin.Unit) {
this.input = aws.sdk.kotlin.services.databrew.model.Input.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.databrew.model.PathOptions] inside the given [block]
*/
public fun pathOptions(block: aws.sdk.kotlin.services.databrew.model.PathOptions.Builder.() -> kotlin.Unit) {
this.pathOptions = aws.sdk.kotlin.services.databrew.model.PathOptions.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy