
commonMain.aws.sdk.kotlin.services.mgn.model.PostLaunchActions.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mgn.model
/**
* Server participating in Job.
*/
class PostLaunchActions private constructor(builder: Builder) {
/**
* Server participating in Job.
*/
val cloudWatchLogGroupName: kotlin.String? = builder.cloudWatchLogGroupName
/**
* Server participating in Job.
*/
val deployment: aws.sdk.kotlin.services.mgn.model.PostLaunchActionsDeploymentType? = builder.deployment
/**
* Server participating in Job.
*/
val s3LogBucket: kotlin.String? = builder.s3LogBucket
/**
* Server participating in Job.
*/
val s3OutputKeyPrefix: kotlin.String? = builder.s3OutputKeyPrefix
/**
* Server participating in Job.
*/
val ssmDocuments: List? = builder.ssmDocuments
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mgn.model.PostLaunchActions = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("PostLaunchActions(")
append("cloudWatchLogGroupName=$cloudWatchLogGroupName,")
append("deployment=$deployment,")
append("s3LogBucket=$s3LogBucket,")
append("s3OutputKeyPrefix=$s3OutputKeyPrefix,")
append("ssmDocuments=$ssmDocuments)")
}
override fun hashCode(): kotlin.Int {
var result = cloudWatchLogGroupName?.hashCode() ?: 0
result = 31 * result + (deployment?.hashCode() ?: 0)
result = 31 * result + (s3LogBucket?.hashCode() ?: 0)
result = 31 * result + (s3OutputKeyPrefix?.hashCode() ?: 0)
result = 31 * result + (ssmDocuments?.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 PostLaunchActions
if (cloudWatchLogGroupName != other.cloudWatchLogGroupName) return false
if (deployment != other.deployment) return false
if (s3LogBucket != other.s3LogBucket) return false
if (s3OutputKeyPrefix != other.s3OutputKeyPrefix) return false
if (ssmDocuments != other.ssmDocuments) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mgn.model.PostLaunchActions = Builder(this).apply(block).build()
class Builder {
/**
* Server participating in Job.
*/
var cloudWatchLogGroupName: kotlin.String? = null
/**
* Server participating in Job.
*/
var deployment: aws.sdk.kotlin.services.mgn.model.PostLaunchActionsDeploymentType? = null
/**
* Server participating in Job.
*/
var s3LogBucket: kotlin.String? = null
/**
* Server participating in Job.
*/
var s3OutputKeyPrefix: kotlin.String? = null
/**
* Server participating in Job.
*/
var ssmDocuments: List? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mgn.model.PostLaunchActions) : this() {
this.cloudWatchLogGroupName = x.cloudWatchLogGroupName
this.deployment = x.deployment
this.s3LogBucket = x.s3LogBucket
this.s3OutputKeyPrefix = x.s3OutputKeyPrefix
this.ssmDocuments = x.ssmDocuments
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mgn.model.PostLaunchActions = PostLaunchActions(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy