commonMain.aws.sdk.kotlin.services.datazone.model.LakeFormationConfiguration.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 Lake Formation configuration of the Data Lake blueprint.
*/
public class LakeFormationConfiguration private constructor(builder: Builder) {
/**
* Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in hybrid mode.
*/
public val locationRegistrationExcludeS3Locations: List? = builder.locationRegistrationExcludeS3Locations
/**
* The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.
*/
public val locationRegistrationRole: kotlin.String? = builder.locationRegistrationRole
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.LakeFormationConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("LakeFormationConfiguration(")
append("locationRegistrationExcludeS3Locations=$locationRegistrationExcludeS3Locations,")
append("locationRegistrationRole=$locationRegistrationRole")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = locationRegistrationExcludeS3Locations?.hashCode() ?: 0
result = 31 * result + (locationRegistrationRole?.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 LakeFormationConfiguration
if (locationRegistrationExcludeS3Locations != other.locationRegistrationExcludeS3Locations) return false
if (locationRegistrationRole != other.locationRegistrationRole) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.LakeFormationConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in hybrid mode.
*/
public var locationRegistrationExcludeS3Locations: List? = null
/**
* The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.
*/
public var locationRegistrationRole: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.LakeFormationConfiguration) : this() {
this.locationRegistrationExcludeS3Locations = x.locationRegistrationExcludeS3Locations
this.locationRegistrationRole = x.locationRegistrationRole
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.LakeFormationConfiguration = LakeFormationConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy