commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.OutputConfigInput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sagemakergeospatial-jvm Show documentation
Show all versions of sagemakergeospatial-jvm Show documentation
The AWS SDK for Kotlin client for SageMaker Geospatial
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemakergeospatial.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The response structure for an OutputConfig returned by an ExportEarthObservationJob.
*/
public class OutputConfigInput private constructor(builder: Builder) {
/**
* Path to Amazon S3 storage location for the output configuration file.
*/
public val s3Data: aws.sdk.kotlin.services.sagemakergeospatial.model.ExportS3DataInput? = builder.s3Data
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemakergeospatial.model.OutputConfigInput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("OutputConfigInput(")
append("s3Data=$s3Data")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = s3Data?.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 OutputConfigInput
if (s3Data != other.s3Data) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemakergeospatial.model.OutputConfigInput = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Path to Amazon S3 storage location for the output configuration file.
*/
public var s3Data: aws.sdk.kotlin.services.sagemakergeospatial.model.ExportS3DataInput? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemakergeospatial.model.OutputConfigInput) : this() {
this.s3Data = x.s3Data
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemakergeospatial.model.OutputConfigInput = OutputConfigInput(this)
/**
* construct an [aws.sdk.kotlin.services.sagemakergeospatial.model.ExportS3DataInput] inside the given [block]
*/
public fun s3Data(block: aws.sdk.kotlin.services.sagemakergeospatial.model.ExportS3DataInput.Builder.() -> kotlin.Unit) {
this.s3Data = aws.sdk.kotlin.services.sagemakergeospatial.model.ExportS3DataInput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}