commonMain.aws.sdk.kotlin.services.cloudsearch.model.DescribeScalingParametersResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudsearch-jvm Show documentation
Show all versions of cloudsearch-jvm Show documentation
The AWS SDK for Kotlin client for CloudSearch
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cloudsearch.model
/**
* The result of a `DescribeScalingParameters` request. Contains the scaling parameters configured for the domain specified in the request.
*/
public class DescribeScalingParametersResponse private constructor(builder: Builder) {
/**
* The status and configuration of a search domain's scaling parameters.
*/
public val scalingParameters: aws.sdk.kotlin.services.cloudsearch.model.ScalingParametersStatus? = builder.scalingParameters
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.cloudsearch.model.DescribeScalingParametersResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeScalingParametersResponse(")
append("scalingParameters=$scalingParameters")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = scalingParameters?.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 DescribeScalingParametersResponse
if (scalingParameters != other.scalingParameters) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.cloudsearch.model.DescribeScalingParametersResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The status and configuration of a search domain's scaling parameters.
*/
public var scalingParameters: aws.sdk.kotlin.services.cloudsearch.model.ScalingParametersStatus? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.cloudsearch.model.DescribeScalingParametersResponse) : this() {
this.scalingParameters = x.scalingParameters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.cloudsearch.model.DescribeScalingParametersResponse = DescribeScalingParametersResponse(this)
/**
* construct an [aws.sdk.kotlin.services.cloudsearch.model.ScalingParametersStatus] inside the given [block]
*/
public fun scalingParameters(block: aws.sdk.kotlin.services.cloudsearch.model.ScalingParametersStatus.Builder.() -> kotlin.Unit) {
this.scalingParameters = aws.sdk.kotlin.services.cloudsearch.model.ScalingParametersStatus.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy