
commonMain.aws.sdk.kotlin.services.groundstation.model.GetSatelliteRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.groundstation.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
*
*/
public class GetSatelliteRequest private constructor(builder: Builder) {
/**
* UUID of a satellite.
*/
public val satelliteId: kotlin.String = requireNotNull(builder.satelliteId) { "A non-null value must be provided for satelliteId" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.groundstation.model.GetSatelliteRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetSatelliteRequest(")
append("satelliteId=$satelliteId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = satelliteId.hashCode()
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 GetSatelliteRequest
if (satelliteId != other.satelliteId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.groundstation.model.GetSatelliteRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* UUID of a satellite.
*/
public var satelliteId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.groundstation.model.GetSatelliteRequest) : this() {
this.satelliteId = x.satelliteId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.groundstation.model.GetSatelliteRequest = GetSatelliteRequest(this)
internal fun correctErrors(): Builder {
if (satelliteId == null) satelliteId = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy