
commonMain.aws.sdk.kotlin.services.iot.model.ScheduledJobRollout.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot.model
/**
* Displays the next seven maintenance window occurrences and their start times.
*/
public class ScheduledJobRollout private constructor(builder: Builder) {
/**
* Displays the start times of the next seven maintenance window occurrences.
*/
public val startTime: kotlin.String? = builder.startTime
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iot.model.ScheduledJobRollout = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ScheduledJobRollout(")
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 ScheduledJobRollout
if (startTime != other.startTime) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iot.model.ScheduledJobRollout = Builder(this).apply(block).build()
public class Builder {
/**
* Displays the start times of the next seven maintenance window occurrences.
*/
public var startTime: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iot.model.ScheduledJobRollout) : this() {
this.startTime = x.startTime
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iot.model.ScheduledJobRollout = ScheduledJobRollout(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy