commonMain.aws.sdk.kotlin.services.iotwireless.model.PositionSolverConfigurations.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
/**
* The wrapper for position solver configurations.
*/
public class PositionSolverConfigurations private constructor(builder: Builder) {
/**
* The Semtech GNSS solver configuration object.
*/
public val semtechGnss: aws.sdk.kotlin.services.iotwireless.model.SemtechGnssConfiguration? = builder.semtechGnss
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.PositionSolverConfigurations = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("PositionSolverConfigurations(")
append("semtechGnss=$semtechGnss")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = semtechGnss?.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 PositionSolverConfigurations
if (semtechGnss != other.semtechGnss) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.PositionSolverConfigurations = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Semtech GNSS solver configuration object.
*/
public var semtechGnss: aws.sdk.kotlin.services.iotwireless.model.SemtechGnssConfiguration? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.PositionSolverConfigurations) : this() {
this.semtechGnss = x.semtechGnss
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.PositionSolverConfigurations = PositionSolverConfigurations(this)
/**
* construct an [aws.sdk.kotlin.services.iotwireless.model.SemtechGnssConfiguration] inside the given [block]
*/
public fun semtechGnss(block: aws.sdk.kotlin.services.iotwireless.model.SemtechGnssConfiguration.Builder.() -> kotlin.Unit) {
this.semtechGnss = aws.sdk.kotlin.services.iotwireless.model.SemtechGnssConfiguration.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy