
commonMain.aws.sdk.kotlin.services.honeycode.model.ImportJobSubmitter.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.honeycode.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* An object that contains the attributes of the submitter of the import job.
*/
public class ImportJobSubmitter private constructor(builder: Builder) {
/**
* The email id of the submitter of the import job, if available.
*/
public val email: kotlin.String? = builder.email
/**
* The AWS user ARN of the submitter of the import job, if available.
*/
public val userArn: kotlin.String? = builder.userArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.honeycode.model.ImportJobSubmitter = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ImportJobSubmitter(")
append("email=*** Sensitive Data Redacted ***,")
append("userArn=$userArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = email?.hashCode() ?: 0
result = 31 * result + (userArn?.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 ImportJobSubmitter
if (email != other.email) return false
if (userArn != other.userArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.honeycode.model.ImportJobSubmitter = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The email id of the submitter of the import job, if available.
*/
public var email: kotlin.String? = null
/**
* The AWS user ARN of the submitter of the import job, if available.
*/
public var userArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.honeycode.model.ImportJobSubmitter) : this() {
this.email = x.email
this.userArn = x.userArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.honeycode.model.ImportJobSubmitter = ImportJobSubmitter(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy