commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigInput.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
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemakergeospatial.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Input configuration information.
*/
public class InputConfigInput 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,TimeRange and Property Filters.
*/
public val rasterDataCollectionQuery: aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryInput? = builder.rasterDataCollectionQuery
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigInput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("InputConfigInput(")
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 InputConfigInput
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.InputConfigInput = 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,TimeRange and Property Filters.
*/
public var rasterDataCollectionQuery: aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryInput? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigInput) : this() {
this.previousEarthObservationJobArn = x.previousEarthObservationJobArn
this.rasterDataCollectionQuery = x.rasterDataCollectionQuery
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemakergeospatial.model.InputConfigInput = InputConfigInput(this)
/**
* construct an [aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryInput] inside the given [block]
*/
public fun rasterDataCollectionQuery(block: aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryInput.Builder.() -> kotlin.Unit) {
this.rasterDataCollectionQuery = aws.sdk.kotlin.services.sagemakergeospatial.model.RasterDataCollectionQueryInput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}