commonMain.aws.sdk.kotlin.services.iotwireless.model.SidewalkSingleStartImportInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iotwireless-jvm Show documentation
Show all versions of iotwireless-jvm Show documentation
The AWS Kotlin client for IoT Wireless
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotwireless.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Information about an import task created for an individual Sidewalk device.
*/
public class SidewalkSingleStartImportInfo private constructor(builder: Builder) {
/**
* The Sidewalk manufacturing serial number (SMSN) of the device added to the import task.
*/
public val sidewalkManufacturingSn: kotlin.String? = builder.sidewalkManufacturingSn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.SidewalkSingleStartImportInfo = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SidewalkSingleStartImportInfo(")
append("sidewalkManufacturingSn=$sidewalkManufacturingSn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = sidewalkManufacturingSn?.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 SidewalkSingleStartImportInfo
if (sidewalkManufacturingSn != other.sidewalkManufacturingSn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.SidewalkSingleStartImportInfo = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Sidewalk manufacturing serial number (SMSN) of the device added to the import task.
*/
public var sidewalkManufacturingSn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.SidewalkSingleStartImportInfo) : this() {
this.sidewalkManufacturingSn = x.sidewalkManufacturingSn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.SidewalkSingleStartImportInfo = SidewalkSingleStartImportInfo(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy