All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.GetTileRequest.kt Maven / Gradle / Ivy

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

public class GetTileRequest private constructor(builder: Builder) {
    /**
     * The Amazon Resource Name (ARN) of the tile operation.
     */
    public val arn: kotlin.String? = builder.arn
    /**
     * The Amazon Resource Name (ARN) of the IAM role that you specify.
     */
    public val executionRoleArn: kotlin.String? = builder.executionRoleArn
    /**
     * The particular assets or bands to tile.
     */
    public val imageAssets: List? = builder.imageAssets
    /**
     * Determines whether or not to return a valid data mask.
     */
    public val imageMask: kotlin.Boolean? = builder.imageMask
    /**
     * The output data type of the tile operation.
     */
    public val outputDataType: aws.sdk.kotlin.services.sagemakergeospatial.model.OutputType? = builder.outputDataType
    /**
     * The data format of the output tile. The formats include .npy, .png and .jpg.
     */
    public val outputFormat: kotlin.String? = builder.outputFormat
    /**
     * Property filters for the imagery to tile.
     */
    public val propertyFilters: kotlin.String? = builder.propertyFilters
    /**
     * Determines what part of the Earth Observation job to tile. 'INPUT' or 'OUTPUT' are the valid options.
     */
    public val target: aws.sdk.kotlin.services.sagemakergeospatial.model.TargetOptions? = builder.target
    /**
     * Time range filter applied to imagery to find the images to tile.
     */
    public val timeRangeFilter: kotlin.String? = builder.timeRangeFilter
    /**
     * The x coordinate of the tile input.
     */
    public val x: kotlin.Int? = builder.x
    /**
     * The y coordinate of the tile input.
     */
    public val y: kotlin.Int? = builder.y
    /**
     * The z coordinate of the tile input.
     */
    public val z: kotlin.Int? = builder.z

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemakergeospatial.model.GetTileRequest = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("GetTileRequest(")
        append("arn=$arn,")
        append("executionRoleArn=$executionRoleArn,")
        append("imageAssets=$imageAssets,")
        append("imageMask=$imageMask,")
        append("outputDataType=$outputDataType,")
        append("outputFormat=$outputFormat,")
        append("propertyFilters=$propertyFilters,")
        append("target=$target,")
        append("timeRangeFilter=$timeRangeFilter,")
        append("x=$x,")
        append("y=$y,")
        append("z=$z")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = arn?.hashCode() ?: 0
        result = 31 * result + (executionRoleArn?.hashCode() ?: 0)
        result = 31 * result + (imageAssets?.hashCode() ?: 0)
        result = 31 * result + (imageMask?.hashCode() ?: 0)
        result = 31 * result + (outputDataType?.hashCode() ?: 0)
        result = 31 * result + (outputFormat?.hashCode() ?: 0)
        result = 31 * result + (propertyFilters?.hashCode() ?: 0)
        result = 31 * result + (target?.hashCode() ?: 0)
        result = 31 * result + (timeRangeFilter?.hashCode() ?: 0)
        result = 31 * result + (x ?: 0)
        result = 31 * result + (y ?: 0)
        result = 31 * result + (z ?: 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 GetTileRequest

        if (arn != other.arn) return false
        if (executionRoleArn != other.executionRoleArn) return false
        if (imageAssets != other.imageAssets) return false
        if (imageMask != other.imageMask) return false
        if (outputDataType != other.outputDataType) return false
        if (outputFormat != other.outputFormat) return false
        if (propertyFilters != other.propertyFilters) return false
        if (target != other.target) return false
        if (timeRangeFilter != other.timeRangeFilter) return false
        if (x != other.x) return false
        if (y != other.y) return false
        if (z != other.z) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemakergeospatial.model.GetTileRequest = Builder(this).apply(block).build()

    @SdkDsl
    public class Builder {
        /**
         * The Amazon Resource Name (ARN) of the tile operation.
         */
        public var arn: kotlin.String? = null
        /**
         * The Amazon Resource Name (ARN) of the IAM role that you specify.
         */
        public var executionRoleArn: kotlin.String? = null
        /**
         * The particular assets or bands to tile.
         */
        public var imageAssets: List? = null
        /**
         * Determines whether or not to return a valid data mask.
         */
        public var imageMask: kotlin.Boolean? = null
        /**
         * The output data type of the tile operation.
         */
        public var outputDataType: aws.sdk.kotlin.services.sagemakergeospatial.model.OutputType? = null
        /**
         * The data format of the output tile. The formats include .npy, .png and .jpg.
         */
        public var outputFormat: kotlin.String? = null
        /**
         * Property filters for the imagery to tile.
         */
        public var propertyFilters: kotlin.String? = null
        /**
         * Determines what part of the Earth Observation job to tile. 'INPUT' or 'OUTPUT' are the valid options.
         */
        public var target: aws.sdk.kotlin.services.sagemakergeospatial.model.TargetOptions? = null
        /**
         * Time range filter applied to imagery to find the images to tile.
         */
        public var timeRangeFilter: kotlin.String? = null
        /**
         * The x coordinate of the tile input.
         */
        public var x: kotlin.Int? = null
        /**
         * The y coordinate of the tile input.
         */
        public var y: kotlin.Int? = null
        /**
         * The z coordinate of the tile input.
         */
        public var z: kotlin.Int? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.sagemakergeospatial.model.GetTileRequest) : this() {
            this.arn = x.arn
            this.executionRoleArn = x.executionRoleArn
            this.imageAssets = x.imageAssets
            this.imageMask = x.imageMask
            this.outputDataType = x.outputDataType
            this.outputFormat = x.outputFormat
            this.propertyFilters = x.propertyFilters
            this.target = x.target
            this.timeRangeFilter = x.timeRangeFilter
            this.x = x.x
            this.y = x.y
            this.z = x.z
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.sagemakergeospatial.model.GetTileRequest = GetTileRequest(this)

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy