
commonMain.aws.sdk.kotlin.services.apptest.model.OutputFile.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
/**
* Specifies an output file.
*/
public class OutputFile private constructor(builder: Builder) {
/**
* The file location of the output file.
*/
public val fileLocation: kotlin.String? = builder.fileLocation
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.apptest.model.OutputFile = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("OutputFile(")
append("fileLocation=$fileLocation")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = fileLocation?.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 OutputFile
if (fileLocation != other.fileLocation) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.apptest.model.OutputFile = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The file location of the output file.
*/
public var fileLocation: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.apptest.model.OutputFile) : this() {
this.fileLocation = x.fileLocation
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.apptest.model.OutputFile = OutputFile(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy