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

commonMain.aws.sdk.kotlin.services.neptune.model.DescribeOrderableDbInstanceOptionsResponse.kt Maven / Gradle / Ivy

There is a newer version: 1.3.76
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.neptune.model

import aws.smithy.kotlin.runtime.SdkDsl

public class DescribeOrderableDbInstanceOptionsResponse private constructor(builder: Builder) {
    /**
     * An optional pagination token provided by a previous OrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by `MaxRecords` .
     */
    public val marker: kotlin.String? = builder.marker
    /**
     * An OrderableDBInstanceOption structure containing information about orderable options for the DB instance.
     */
    public val orderableDbInstanceOptions: List? = builder.orderableDbInstanceOptions

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

    override fun toString(): kotlin.String = buildString {
        append("DescribeOrderableDbInstanceOptionsResponse(")
        append("marker=$marker,")
        append("orderableDbInstanceOptions=$orderableDbInstanceOptions")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = marker?.hashCode() ?: 0
        result = 31 * result + (orderableDbInstanceOptions?.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 DescribeOrderableDbInstanceOptionsResponse

        if (marker != other.marker) return false
        if (orderableDbInstanceOptions != other.orderableDbInstanceOptions) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * An optional pagination token provided by a previous OrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by `MaxRecords` .
         */
        public var marker: kotlin.String? = null
        /**
         * An OrderableDBInstanceOption structure containing information about orderable options for the DB instance.
         */
        public var orderableDbInstanceOptions: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.neptune.model.DescribeOrderableDbInstanceOptionsResponse) : this() {
            this.marker = x.marker
            this.orderableDbInstanceOptions = x.orderableDbInstanceOptions
        }

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

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy