commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigOutput.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 InputConfig for an EarthObservationJob response.
*/
public class InputConfigOutput private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the previous Earth Observation job.
*/
public val previousEarthObservationJobArn: kotlin.String? = builder.previousEarthObservationJobArn
/**
* The structure representing the RasterDataCollection Query consisting of the Area of Interest, RasterDataCollectionArn, RasterDataCollectionName, TimeRange, and Property Filters.
*/
public val rasterDataCollectionQuery: aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryOutput? = builder.rasterDataCollectionQuery
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigOutput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("InputConfigOutput(")
append("previousEarthObservationJobArn=$previousEarthObservationJobArn,")
append("rasterDataCollectionQuery=$rasterDataCollectionQuery")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = previousEarthObservationJobArn?.hashCode() ?: 0
result = 31 * result + (rasterDataCollectionQuery?.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 InputConfigOutput
if (previousEarthObservationJobArn != other.previousEarthObservationJobArn) return false
if (rasterDataCollectionQuery != other.rasterDataCollectionQuery) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigOutput = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Amazon Resource Name (ARN) of the previous Earth Observation job.
*/
public var previousEarthObservationJobArn: kotlin.String? = null
/**
* The structure representing the RasterDataCollection Query consisting of the Area of Interest, RasterDataCollectionArn, RasterDataCollectionName, TimeRange, and Property Filters.
*/
public var rasterDataCollectionQuery: aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryOutput? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigOutput) : this() {
this.previousEarthObservationJobArn = x.previousEarthObservationJobArn
this.rasterDataCollectionQuery = x.rasterDataCollectionQuery
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigOutput = InputConfigOutput(this)
/**
* construct an [aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryOutput] inside the given [block]
*/
public fun rasterDataCollectionQuery(block: aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryOutput.Builder.() -> kotlin.Unit) {
this.rasterDataCollectionQuery = aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryOutput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}