
commonMain.aws.sdk.kotlin.services.ssm.model.StartAssociationsOnceRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
import aws.smithy.kotlin.runtime.SdkDsl
public class StartAssociationsOnceRequest private constructor(builder: Builder) {
/**
* The association IDs that you want to run immediately and only one time.
*/
public val associationIds: List? = builder.associationIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.StartAssociationsOnceRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartAssociationsOnceRequest(")
append("associationIds=$associationIds")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = associationIds?.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 StartAssociationsOnceRequest
if (associationIds != other.associationIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.StartAssociationsOnceRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The association IDs that you want to run immediately and only one time.
*/
public var associationIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.StartAssociationsOnceRequest) : this() {
this.associationIds = x.associationIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.StartAssociationsOnceRequest = StartAssociationsOnceRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy