
commonMain.aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationSummary.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.apptest.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Deletes the CloudFormation summary.
*/
public class DeleteCloudFormationSummary private constructor(builder: Builder) {
/**
* The step input of the deleted CloudFormation summary.
*/
public val stepInput: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepInput? = builder.stepInput
/**
* The step output of the deleted CloudFormation summary.
*/
public val stepOutput: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepOutput? = builder.stepOutput
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationSummary = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteCloudFormationSummary(")
append("stepInput=$stepInput,")
append("stepOutput=$stepOutput")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = stepInput?.hashCode() ?: 0
result = 31 * result + (stepOutput?.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 DeleteCloudFormationSummary
if (stepInput != other.stepInput) return false
if (stepOutput != other.stepOutput) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationSummary = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The step input of the deleted CloudFormation summary.
*/
public var stepInput: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepInput? = null
/**
* The step output of the deleted CloudFormation summary.
*/
public var stepOutput: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepOutput? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationSummary) : this() {
this.stepInput = x.stepInput
this.stepOutput = x.stepOutput
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationSummary = DeleteCloudFormationSummary(this)
/**
* construct an [aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepInput] inside the given [block]
*/
public fun stepInput(block: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepInput.Builder.() -> kotlin.Unit) {
this.stepInput = aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepInput.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepOutput] inside the given [block]
*/
public fun stepOutput(block: aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepOutput.Builder.() -> kotlin.Unit) {
this.stepOutput = aws.sdk.kotlin.services.apptest.model.DeleteCloudFormationStepOutput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy