
commonMain.aws.sdk.kotlin.services.launchwizard.model.DeploymentEventDataSummary.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.launchwizard.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant
/**
* A summary of the deployment event data.
*/
public class DeploymentEventDataSummary private constructor(builder: Builder) {
/**
* The description of the deployment event.
*/
public val description: kotlin.String? = builder.description
/**
* The name of the deployment event.
*/
public val name: kotlin.String? = builder.name
/**
* The status of the deployment event.
*/
public val status: aws.sdk.kotlin.services.launchwizard.model.EventStatus? = builder.status
/**
* The reason of the deployment event status.
*/
public val statusReason: kotlin.String? = builder.statusReason
/**
* The timestamp of the deployment event.
*/
public val timestamp: aws.smithy.kotlin.runtime.time.Instant? = builder.timestamp
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.launchwizard.model.DeploymentEventDataSummary = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeploymentEventDataSummary(")
append("description=$description,")
append("name=$name,")
append("status=$status,")
append("statusReason=$statusReason,")
append("timestamp=$timestamp")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = description?.hashCode() ?: 0
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (status?.hashCode() ?: 0)
result = 31 * result + (statusReason?.hashCode() ?: 0)
result = 31 * result + (timestamp?.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 DeploymentEventDataSummary
if (description != other.description) return false
if (name != other.name) return false
if (status != other.status) return false
if (statusReason != other.statusReason) return false
if (timestamp != other.timestamp) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.launchwizard.model.DeploymentEventDataSummary = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The description of the deployment event.
*/
public var description: kotlin.String? = null
/**
* The name of the deployment event.
*/
public var name: kotlin.String? = null
/**
* The status of the deployment event.
*/
public var status: aws.sdk.kotlin.services.launchwizard.model.EventStatus? = null
/**
* The reason of the deployment event status.
*/
public var statusReason: kotlin.String? = null
/**
* The timestamp of the deployment event.
*/
public var timestamp: aws.smithy.kotlin.runtime.time.Instant? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.launchwizard.model.DeploymentEventDataSummary) : this() {
this.description = x.description
this.name = x.name
this.status = x.status
this.statusReason = x.statusReason
this.timestamp = x.timestamp
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.launchwizard.model.DeploymentEventDataSummary = DeploymentEventDataSummary(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy