
commonMain.aws.sdk.kotlin.services.opensearch.model.DescribeDryRunProgressRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.opensearch.model
public class DescribeDryRunProgressRequest private constructor(builder: Builder) {
/**
* The name of the domain.
*/
public val domainName: kotlin.String? = builder.domainName
/**
* The unique identifier of the dry run.
*/
public val dryRunId: kotlin.String? = builder.dryRunId
/**
* Whether to include the configuration of the dry run in the response. The configuration specifies the updates that you're planning to make on the domain.
*/
public val loadDryRunConfig: kotlin.Boolean? = builder.loadDryRunConfig
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.opensearch.model.DescribeDryRunProgressRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeDryRunProgressRequest(")
append("domainName=$domainName,")
append("dryRunId=$dryRunId,")
append("loadDryRunConfig=$loadDryRunConfig")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainName?.hashCode() ?: 0
result = 31 * result + (dryRunId?.hashCode() ?: 0)
result = 31 * result + (loadDryRunConfig?.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 DescribeDryRunProgressRequest
if (domainName != other.domainName) return false
if (dryRunId != other.dryRunId) return false
if (loadDryRunConfig != other.loadDryRunConfig) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.opensearch.model.DescribeDryRunProgressRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the domain.
*/
public var domainName: kotlin.String? = null
/**
* The unique identifier of the dry run.
*/
public var dryRunId: kotlin.String? = null
/**
* Whether to include the configuration of the dry run in the response. The configuration specifies the updates that you're planning to make on the domain.
*/
public var loadDryRunConfig: kotlin.Boolean? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.opensearch.model.DescribeDryRunProgressRequest) : this() {
this.domainName = x.domainName
this.dryRunId = x.dryRunId
this.loadDryRunConfig = x.loadDryRunConfig
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.opensearch.model.DescribeDryRunProgressRequest = DescribeDryRunProgressRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy