commonMain.aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspacedata-jvm Show documentation
Show all versions of finspacedata-jvm Show documentation
The AWS SDK for Kotlin client for finspace data
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspacedata.model
public class GetWorkingLocationRequest private constructor(builder: Builder) {
/**
* Specify the type of the working location.
* + `SAGEMAKER` – Use the Amazon S3 location as a temporary location to store data content when working with FinSpace Notebooks that run on SageMaker studio.
* + `INGESTION` – Use the Amazon S3 location as a staging location to copy your data content and then use the location with the Changeset creation operation.
*/
public val locationType: aws.sdk.kotlin.services.finspacedata.model.LocationType? = builder.locationType
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetWorkingLocationRequest(")
append("locationType=$locationType")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = locationType?.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 GetWorkingLocationRequest
if (locationType != other.locationType) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationRequest = Builder(this).apply(block).build()
public class Builder {
/**
* Specify the type of the working location.
* + `SAGEMAKER` – Use the Amazon S3 location as a temporary location to store data content when working with FinSpace Notebooks that run on SageMaker studio.
* + `INGESTION` – Use the Amazon S3 location as a staging location to copy your data content and then use the location with the Changeset creation operation.
*/
public var locationType: aws.sdk.kotlin.services.finspacedata.model.LocationType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationRequest) : this() {
this.locationType = x.locationType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationRequest = GetWorkingLocationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy