
aws.sdk.kotlin.services.lexmodelsv2.model.UpdateExportRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.lexmodelsv2.model
class UpdateExportRequest private constructor(builder: Builder) {
/**
* The unique identifier Amazon Lex assigned to the export.
*/
val exportId: kotlin.String? = builder.exportId
/**
* The new password to use to encrypt the export zip archive.
*/
val filePassword: kotlin.String? = builder.filePassword
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.lexmodelsv2.model.UpdateExportRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateExportRequest(")
append("exportId=$exportId,")
append("filePassword=*** Sensitive Data Redacted ***)")
}
override fun hashCode(): kotlin.Int {
var result = exportId?.hashCode() ?: 0
result = 31 * result + (filePassword?.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 UpdateExportRequest
if (exportId != other.exportId) return false
if (filePassword != other.filePassword) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.lexmodelsv2.model.UpdateExportRequest = Builder(this).apply(block).build()
class Builder {
/**
* The unique identifier Amazon Lex assigned to the export.
*/
var exportId: kotlin.String? = null
/**
* The new password to use to encrypt the export zip archive.
*/
var filePassword: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.lexmodelsv2.model.UpdateExportRequest) : this() {
this.exportId = x.exportId
this.filePassword = x.filePassword
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.lexmodelsv2.model.UpdateExportRequest = UpdateExportRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy