commonMain.aws.sdk.kotlin.services.iotwireless.model.LoRaWanStartFuotaTask.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
import aws.smithy.kotlin.runtime.time.Instant
/**
* The LoRaWAN information used to start a FUOTA task.
*/
public class LoRaWanStartFuotaTask private constructor(builder: Builder) {
/**
* Start time of a FUOTA task.
*/
public val startTime: aws.smithy.kotlin.runtime.time.Instant? = builder.startTime
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.LoRaWanStartFuotaTask = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("LoRaWanStartFuotaTask(")
append("startTime=$startTime")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = startTime?.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 LoRaWanStartFuotaTask
if (startTime != other.startTime) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.LoRaWanStartFuotaTask = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Start time of a FUOTA task.
*/
public var startTime: aws.smithy.kotlin.runtime.time.Instant? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.LoRaWanStartFuotaTask) : this() {
this.startTime = x.startTime
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.LoRaWanStartFuotaTask = LoRaWanStartFuotaTask(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy