commonMain.aws.sdk.kotlin.services.cloudsearch.model.DescribeAnalysisSchemesRequest.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
/**
* Container for the parameters to the `DescribeAnalysisSchemes` operation. Specifies the name of the domain you want to describe. To limit the response to particular analysis schemes, specify the names of the analysis schemes you want to describe. To show the active configuration and exclude any pending changes, set the `Deployed` option to `true`.
*/
public class DescribeAnalysisSchemesRequest private constructor(builder: Builder) {
/**
* The analysis schemes you want to describe.
*/
public val analysisSchemeNames: List? = builder.analysisSchemeNames
/**
* Whether to display the deployed configuration (`true`) or include any pending changes (`false`). Defaults to `false`.
*/
public val deployed: kotlin.Boolean? = builder.deployed
/**
* The name of the domain you want to describe.
*/
public val domainName: kotlin.String? = builder.domainName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.cloudsearch.model.DescribeAnalysisSchemesRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeAnalysisSchemesRequest(")
append("analysisSchemeNames=$analysisSchemeNames,")
append("deployed=$deployed,")
append("domainName=$domainName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = analysisSchemeNames?.hashCode() ?: 0
result = 31 * result + (deployed?.hashCode() ?: 0)
result = 31 * result + (domainName?.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 DescribeAnalysisSchemesRequest
if (analysisSchemeNames != other.analysisSchemeNames) return false
if (deployed != other.deployed) return false
if (domainName != other.domainName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.cloudsearch.model.DescribeAnalysisSchemesRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The analysis schemes you want to describe.
*/
public var analysisSchemeNames: List? = null
/**
* Whether to display the deployed configuration (`true`) or include any pending changes (`false`). Defaults to `false`.
*/
public var deployed: kotlin.Boolean? = null
/**
* The name of the domain you want to describe.
*/
public var domainName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.cloudsearch.model.DescribeAnalysisSchemesRequest) : this() {
this.analysisSchemeNames = x.analysisSchemeNames
this.deployed = x.deployed
this.domainName = x.domainName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.cloudsearch.model.DescribeAnalysisSchemesRequest = DescribeAnalysisSchemesRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy