All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.quicksight.model.S3Parameters.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.quicksight.model



/**
 * The parameters for S3.
 */
class S3Parameters private constructor(builder: Builder) {
    /**
     * Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded into Amazon QuickSight.
     */
    val manifestFileLocation: aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation? = builder.manifestFileLocation

    companion object {
        operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.S3Parameters = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("S3Parameters(")
        append("manifestFileLocation=$manifestFileLocation)")
    }

    override fun hashCode(): kotlin.Int {
        var result = manifestFileLocation?.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 S3Parameters

        if (manifestFileLocation != other.manifestFileLocation) return false

        return true
    }

    inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.S3Parameters = Builder(this).apply(block).build()

    class Builder {
        /**
         * Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded into Amazon QuickSight.
         */
        var manifestFileLocation: aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation? = null

        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.quicksight.model.S3Parameters) : this() {
            this.manifestFileLocation = x.manifestFileLocation
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.quicksight.model.S3Parameters = S3Parameters(this)

        /**
         * construct an [aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation] inside the given [block]
         */
        fun manifestFileLocation(block: aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation.Builder.() -> kotlin.Unit) {
            this.manifestFileLocation = aws.sdk.kotlin.services.quicksight.model.ManifestFileLocation.invoke(block)
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy