
commonMain.aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
/**
* Amazon S3 manifest file location.
*/
class ManifestFileLocation private constructor(builder: Builder) {
/**
* Amazon S3 bucket.
*/
val bucket: kotlin.String? = builder.bucket
/**
* Amazon S3 key that identifies an object.
*/
val key: kotlin.String? = builder.key
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ManifestFileLocation(")
append("bucket=$bucket,")
append("key=$key)")
}
override fun hashCode(): kotlin.Int {
var result = bucket?.hashCode() ?: 0
result = 31 * result + (key?.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 ManifestFileLocation
if (bucket != other.bucket) return false
if (key != other.key) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation = Builder(this).apply(block).build()
class Builder {
/**
* Amazon S3 bucket.
*/
var bucket: kotlin.String? = null
/**
* Amazon S3 key that identifies an object.
*/
var key: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation) : this() {
this.bucket = x.bucket
this.key = x.key
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation = ManifestFileLocation(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy