commonMain.aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The configuration details of the Amazon Web Services Glue data source.
*/
public class GlueRunConfigurationOutput private constructor(builder: Builder) {
/**
* The Amazon Web Services account ID included in the configuration details of the Amazon Web Services Glue data source.
*/
public val accountId: kotlin.String? = builder.accountId
/**
* Specifies whether to automatically import data quality metrics as part of the data source run.
*/
public val autoImportDataQualityResult: kotlin.Boolean? = builder.autoImportDataQualityResult
/**
* The data access role included in the configuration details of the Amazon Web Services Glue data source.
*/
public val dataAccessRole: kotlin.String? = builder.dataAccessRole
/**
* The Amazon Web Services region included in the configuration details of the Amazon Web Services Glue data source.
*/
public val region: kotlin.String? = builder.region
/**
* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data source.
*/
public val relationalFilterConfigurations: List = requireNotNull(builder.relationalFilterConfigurations) { "A non-null value must be provided for relationalFilterConfigurations" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GlueRunConfigurationOutput(")
append("accountId=$accountId,")
append("autoImportDataQualityResult=$autoImportDataQualityResult,")
append("dataAccessRole=$dataAccessRole,")
append("region=$region,")
append("relationalFilterConfigurations=$relationalFilterConfigurations")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = accountId?.hashCode() ?: 0
result = 31 * result + (autoImportDataQualityResult?.hashCode() ?: 0)
result = 31 * result + (dataAccessRole?.hashCode() ?: 0)
result = 31 * result + (region?.hashCode() ?: 0)
result = 31 * result + (relationalFilterConfigurations.hashCode())
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 GlueRunConfigurationOutput
if (accountId != other.accountId) return false
if (autoImportDataQualityResult != other.autoImportDataQualityResult) return false
if (dataAccessRole != other.dataAccessRole) return false
if (region != other.region) return false
if (relationalFilterConfigurations != other.relationalFilterConfigurations) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Amazon Web Services account ID included in the configuration details of the Amazon Web Services Glue data source.
*/
public var accountId: kotlin.String? = null
/**
* Specifies whether to automatically import data quality metrics as part of the data source run.
*/
public var autoImportDataQualityResult: kotlin.Boolean? = null
/**
* The data access role included in the configuration details of the Amazon Web Services Glue data source.
*/
public var dataAccessRole: kotlin.String? = null
/**
* The Amazon Web Services region included in the configuration details of the Amazon Web Services Glue data source.
*/
public var region: kotlin.String? = null
/**
* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data source.
*/
public var relationalFilterConfigurations: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput) : this() {
this.accountId = x.accountId
this.autoImportDataQualityResult = x.autoImportDataQualityResult
this.dataAccessRole = x.dataAccessRole
this.region = x.region
this.relationalFilterConfigurations = x.relationalFilterConfigurations
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput = GlueRunConfigurationOutput(this)
internal fun correctErrors(): Builder {
if (relationalFilterConfigurations == null) relationalFilterConfigurations = emptyList()
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy