
commonMain.aws.sdk.kotlin.services.iot.model.UpdateDomainConfigurationResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot.model
public class UpdateDomainConfigurationResponse private constructor(builder: Builder) {
/**
* The ARN of the domain configuration that was updated.
*/
public val domainConfigurationArn: kotlin.String? = builder.domainConfigurationArn
/**
* The name of the domain configuration that was updated.
*/
public val domainConfigurationName: kotlin.String? = builder.domainConfigurationName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iot.model.UpdateDomainConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateDomainConfigurationResponse(")
append("domainConfigurationArn=$domainConfigurationArn,")
append("domainConfigurationName=$domainConfigurationName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainConfigurationArn?.hashCode() ?: 0
result = 31 * result + (domainConfigurationName?.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 UpdateDomainConfigurationResponse
if (domainConfigurationArn != other.domainConfigurationArn) return false
if (domainConfigurationName != other.domainConfigurationName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iot.model.UpdateDomainConfigurationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The ARN of the domain configuration that was updated.
*/
public var domainConfigurationArn: kotlin.String? = null
/**
* The name of the domain configuration that was updated.
*/
public var domainConfigurationName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iot.model.UpdateDomainConfigurationResponse) : this() {
this.domainConfigurationArn = x.domainConfigurationArn
this.domainConfigurationName = x.domainConfigurationName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iot.model.UpdateDomainConfigurationResponse = UpdateDomainConfigurationResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy