commonMain.aws.sdk.kotlin.services.glue.model.DevEndpointCustomLibraries.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glue-jvm Show documentation
Show all versions of glue-jvm Show documentation
The AWS SDK for Kotlin client for Glue
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.glue.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Custom libraries to be loaded into a development endpoint.
*/
public class DevEndpointCustomLibraries private constructor(builder: Builder) {
/**
* The path to one or more Java `.jar` files in an S3 bucket that should be loaded in your `DevEndpoint`.
*
* You can only use pure Java/Scala libraries with a `DevEndpoint`.
*/
public val extraJarsS3Path: kotlin.String? = builder.extraJarsS3Path
/**
* The paths to one or more Python libraries in an Amazon Simple Storage Service (Amazon S3) bucket that should be loaded in your `DevEndpoint`. Multiple values must be complete paths separated by a comma.
*
* You can only use pure Python libraries with a `DevEndpoint`. Libraries that rely on C extensions, such as the [pandas](http://pandas.pydata.org/) Python data analysis library, are not currently supported.
*/
public val extraPythonLibsS3Path: kotlin.String? = builder.extraPythonLibsS3Path
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.glue.model.DevEndpointCustomLibraries = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DevEndpointCustomLibraries(")
append("extraJarsS3Path=$extraJarsS3Path,")
append("extraPythonLibsS3Path=$extraPythonLibsS3Path")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = extraJarsS3Path?.hashCode() ?: 0
result = 31 * result + (extraPythonLibsS3Path?.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 DevEndpointCustomLibraries
if (extraJarsS3Path != other.extraJarsS3Path) return false
if (extraPythonLibsS3Path != other.extraPythonLibsS3Path) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.glue.model.DevEndpointCustomLibraries = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The path to one or more Java `.jar` files in an S3 bucket that should be loaded in your `DevEndpoint`.
*
* You can only use pure Java/Scala libraries with a `DevEndpoint`.
*/
public var extraJarsS3Path: kotlin.String? = null
/**
* The paths to one or more Python libraries in an Amazon Simple Storage Service (Amazon S3) bucket that should be loaded in your `DevEndpoint`. Multiple values must be complete paths separated by a comma.
*
* You can only use pure Python libraries with a `DevEndpoint`. Libraries that rely on C extensions, such as the [pandas](http://pandas.pydata.org/) Python data analysis library, are not currently supported.
*/
public var extraPythonLibsS3Path: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.glue.model.DevEndpointCustomLibraries) : this() {
this.extraJarsS3Path = x.extraJarsS3Path
this.extraPythonLibsS3Path = x.extraPythonLibsS3Path
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.glue.model.DevEndpointCustomLibraries = DevEndpointCustomLibraries(this)
internal fun correctErrors(): Builder {
return this
}
}
}