
commonMain.aws.sdk.kotlin.services.sms.model.GenerateChangeSetRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sms.model
public class GenerateChangeSetRequest private constructor(builder: Builder) {
/**
* The ID of the application associated with the change set.
*/
public val appId: kotlin.String? = builder.appId
/**
* The format for the change set.
*/
public val changesetFormat: aws.sdk.kotlin.services.sms.model.OutputFormat? = builder.changesetFormat
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sms.model.GenerateChangeSetRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GenerateChangeSetRequest(")
append("appId=$appId,")
append("changesetFormat=$changesetFormat")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = appId?.hashCode() ?: 0
result = 31 * result + (changesetFormat?.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 GenerateChangeSetRequest
if (appId != other.appId) return false
if (changesetFormat != other.changesetFormat) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sms.model.GenerateChangeSetRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ID of the application associated with the change set.
*/
public var appId: kotlin.String? = null
/**
* The format for the change set.
*/
public var changesetFormat: aws.sdk.kotlin.services.sms.model.OutputFormat? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sms.model.GenerateChangeSetRequest) : this() {
this.appId = x.appId
this.changesetFormat = x.changesetFormat
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sms.model.GenerateChangeSetRequest = GenerateChangeSetRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy