commonMain.aws.sdk.kotlin.services.iot.model.CreateDomainConfigurationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot Show documentation
Show all versions of iot Show documentation
The AWS SDK for Kotlin client for IoT
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot.model
public class CreateDomainConfigurationResponse private constructor(builder: Builder) {
/**
* The ARN of the domain configuration.
*/
public val domainConfigurationArn: kotlin.String? = builder.domainConfigurationArn
/**
* The name of the domain configuration.
*/
public val domainConfigurationName: kotlin.String? = builder.domainConfigurationName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iot.model.CreateDomainConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateDomainConfigurationResponse(")
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 CreateDomainConfigurationResponse
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.CreateDomainConfigurationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The ARN of the domain configuration.
*/
public var domainConfigurationArn: kotlin.String? = null
/**
* The name of the domain configuration.
*/
public var domainConfigurationName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iot.model.CreateDomainConfigurationResponse) : this() {
this.domainConfigurationArn = x.domainConfigurationArn
this.domainConfigurationName = x.domainConfigurationName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iot.model.CreateDomainConfigurationResponse = CreateDomainConfigurationResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy