
commonMain.aws.sdk.kotlin.services.sms.model.AppValidationOutput.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sms.model
/**
* Output from validating an application.
*/
public class AppValidationOutput private constructor(builder: Builder) {
/**
* Output from using SSM to validate the application.
*/
public val ssmOutput: aws.sdk.kotlin.services.sms.model.SsmOutput? = builder.ssmOutput
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sms.model.AppValidationOutput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("AppValidationOutput(")
append("ssmOutput=$ssmOutput")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = ssmOutput?.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 AppValidationOutput
if (ssmOutput != other.ssmOutput) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sms.model.AppValidationOutput = Builder(this).apply(block).build()
public class Builder {
/**
* Output from using SSM to validate the application.
*/
public var ssmOutput: aws.sdk.kotlin.services.sms.model.SsmOutput? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sms.model.AppValidationOutput) : this() {
this.ssmOutput = x.ssmOutput
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sms.model.AppValidationOutput = AppValidationOutput(this)
/**
* construct an [aws.sdk.kotlin.services.sms.model.SsmOutput] inside the given [block]
*/
public fun ssmOutput(block: aws.sdk.kotlin.services.sms.model.SsmOutput.Builder.() -> kotlin.Unit) {
this.ssmOutput = aws.sdk.kotlin.services.sms.model.SsmOutput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy