commonMain.aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspacedata Show documentation
Show all versions of finspacedata Show documentation
The AWS Kotlin client for finspace data
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspacedata.model
public class GetWorkingLocationResponse private constructor(builder: Builder) {
/**
* Returns the Amazon S3 bucket name for the working location.
*/
public val s3Bucket: kotlin.String? = builder.s3Bucket
/**
* Returns the Amazon S3 Path for the working location.
*/
public val s3Path: kotlin.String? = builder.s3Path
/**
* Returns the Amazon S3 URI for the working location.
*/
public val s3Uri: kotlin.String? = builder.s3Uri
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetWorkingLocationResponse(")
append("s3Bucket=$s3Bucket,")
append("s3Path=$s3Path,")
append("s3Uri=$s3Uri")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = s3Bucket?.hashCode() ?: 0
result = 31 * result + (s3Path?.hashCode() ?: 0)
result = 31 * result + (s3Uri?.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 GetWorkingLocationResponse
if (s3Bucket != other.s3Bucket) return false
if (s3Path != other.s3Path) return false
if (s3Uri != other.s3Uri) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Returns the Amazon S3 bucket name for the working location.
*/
public var s3Bucket: kotlin.String? = null
/**
* Returns the Amazon S3 Path for the working location.
*/
public var s3Path: kotlin.String? = null
/**
* Returns the Amazon S3 URI for the working location.
*/
public var s3Uri: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationResponse) : this() {
this.s3Bucket = x.s3Bucket
this.s3Path = x.s3Path
this.s3Uri = x.s3Uri
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspacedata.model.GetWorkingLocationResponse = GetWorkingLocationResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy