commonMain.aws.sdk.kotlin.services.iotwireless.model.GetPositionConfigurationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iotwireless-jvm Show documentation
Show all versions of iotwireless-jvm Show documentation
The AWS Kotlin client for IoT Wireless
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotwireless.model
import aws.smithy.kotlin.runtime.SdkDsl
@Deprecated("This operation is no longer supported.")
public class GetPositionConfigurationResponse private constructor(builder: Builder) {
/**
* The position data destination that describes the AWS IoT rule that processes the device's position data for use by AWS IoT Core for LoRaWAN.
*/
public val destination: kotlin.String? = builder.destination
/**
* The wrapper for the solver configuration details object.
*/
public val solvers: aws.sdk.kotlin.services.iotwireless.model.PositionSolverDetails? = builder.solvers
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.GetPositionConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetPositionConfigurationResponse(")
append("destination=$destination,")
append("solvers=$solvers")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = destination?.hashCode() ?: 0
result = 31 * result + (solvers?.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 GetPositionConfigurationResponse
if (destination != other.destination) return false
if (solvers != other.solvers) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.GetPositionConfigurationResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The position data destination that describes the AWS IoT rule that processes the device's position data for use by AWS IoT Core for LoRaWAN.
*/
public var destination: kotlin.String? = null
/**
* The wrapper for the solver configuration details object.
*/
public var solvers: aws.sdk.kotlin.services.iotwireless.model.PositionSolverDetails? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.GetPositionConfigurationResponse) : this() {
this.destination = x.destination
this.solvers = x.solvers
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.GetPositionConfigurationResponse = GetPositionConfigurationResponse(this)
/**
* construct an [aws.sdk.kotlin.services.iotwireless.model.PositionSolverDetails] inside the given [block]
*/
public fun solvers(block: aws.sdk.kotlin.services.iotwireless.model.PositionSolverDetails.Builder.() -> kotlin.Unit) {
this.solvers = aws.sdk.kotlin.services.iotwireless.model.PositionSolverDetails.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy