
commonMain.aws.sdk.kotlin.services.groundstation.model.DescribeContactResponse.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
import aws.smithy.kotlin.runtime.time.Instant
/**
*
*/
public class DescribeContactResponse private constructor(builder: Builder) {
/**
* UUID of a contact.
*/
public val contactId: kotlin.String? = builder.contactId
/**
* Status of a contact.
*/
public val contactStatus: aws.sdk.kotlin.services.groundstation.model.ContactStatus? = builder.contactStatus
/**
* List describing source and destination details for each dataflow edge.
*/
public val dataflowList: List? = builder.dataflowList
/**
* End time of a contact in UTC.
*/
public val endTime: aws.smithy.kotlin.runtime.time.Instant? = builder.endTime
/**
* Error message for a contact.
*/
public val errorMessage: kotlin.String? = builder.errorMessage
/**
* Ground station for a contact.
*/
public val groundStation: kotlin.String? = builder.groundStation
/**
* Maximum elevation angle of a contact.
*/
public val maximumElevation: aws.sdk.kotlin.services.groundstation.model.Elevation? = builder.maximumElevation
/**
* ARN of a mission profile.
*/
public val missionProfileArn: kotlin.String? = builder.missionProfileArn
/**
* Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.
*/
public val postPassEndTime: aws.smithy.kotlin.runtime.time.Instant? = builder.postPassEndTime
/**
* Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass.
*/
public val prePassStartTime: aws.smithy.kotlin.runtime.time.Instant? = builder.prePassStartTime
/**
* Region of a contact.
*/
public val region: kotlin.String? = builder.region
/**
* ARN of a satellite.
*/
public val satelliteArn: kotlin.String? = builder.satelliteArn
/**
* Start time of a contact in UTC.
*/
public val startTime: aws.smithy.kotlin.runtime.time.Instant? = builder.startTime
/**
* Tags assigned to a contact.
*/
public val tags: Map? = builder.tags
/**
* Projected time in UTC your satellite will set below the [receive mask](https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html). This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was active during contact execution for completed contacts.
*/
public val visibilityEndTime: aws.smithy.kotlin.runtime.time.Instant? = builder.visibilityEndTime
/**
* Projected time in UTC your satellite will rise above the [receive mask](https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html). This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was active during contact execution for completed contacts.
*/
public val visibilityStartTime: aws.smithy.kotlin.runtime.time.Instant? = builder.visibilityStartTime
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.groundstation.model.DescribeContactResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeContactResponse(")
append("contactId=$contactId,")
append("contactStatus=$contactStatus,")
append("dataflowList=$dataflowList,")
append("endTime=$endTime,")
append("errorMessage=$errorMessage,")
append("groundStation=$groundStation,")
append("maximumElevation=$maximumElevation,")
append("missionProfileArn=$missionProfileArn,")
append("postPassEndTime=$postPassEndTime,")
append("prePassStartTime=$prePassStartTime,")
append("region=$region,")
append("satelliteArn=$satelliteArn,")
append("startTime=$startTime,")
append("tags=$tags,")
append("visibilityEndTime=$visibilityEndTime,")
append("visibilityStartTime=$visibilityStartTime")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = contactId?.hashCode() ?: 0
result = 31 * result + (contactStatus?.hashCode() ?: 0)
result = 31 * result + (dataflowList?.hashCode() ?: 0)
result = 31 * result + (endTime?.hashCode() ?: 0)
result = 31 * result + (errorMessage?.hashCode() ?: 0)
result = 31 * result + (groundStation?.hashCode() ?: 0)
result = 31 * result + (maximumElevation?.hashCode() ?: 0)
result = 31 * result + (missionProfileArn?.hashCode() ?: 0)
result = 31 * result + (postPassEndTime?.hashCode() ?: 0)
result = 31 * result + (prePassStartTime?.hashCode() ?: 0)
result = 31 * result + (region?.hashCode() ?: 0)
result = 31 * result + (satelliteArn?.hashCode() ?: 0)
result = 31 * result + (startTime?.hashCode() ?: 0)
result = 31 * result + (tags?.hashCode() ?: 0)
result = 31 * result + (visibilityEndTime?.hashCode() ?: 0)
result = 31 * result + (visibilityStartTime?.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 DescribeContactResponse
if (contactId != other.contactId) return false
if (contactStatus != other.contactStatus) return false
if (dataflowList != other.dataflowList) return false
if (endTime != other.endTime) return false
if (errorMessage != other.errorMessage) return false
if (groundStation != other.groundStation) return false
if (maximumElevation != other.maximumElevation) return false
if (missionProfileArn != other.missionProfileArn) return false
if (postPassEndTime != other.postPassEndTime) return false
if (prePassStartTime != other.prePassStartTime) return false
if (region != other.region) return false
if (satelliteArn != other.satelliteArn) return false
if (startTime != other.startTime) return false
if (tags != other.tags) return false
if (visibilityEndTime != other.visibilityEndTime) return false
if (visibilityStartTime != other.visibilityStartTime) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.groundstation.model.DescribeContactResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* UUID of a contact.
*/
public var contactId: kotlin.String? = null
/**
* Status of a contact.
*/
public var contactStatus: aws.sdk.kotlin.services.groundstation.model.ContactStatus? = null
/**
* List describing source and destination details for each dataflow edge.
*/
public var dataflowList: List? = null
/**
* End time of a contact in UTC.
*/
public var endTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Error message for a contact.
*/
public var errorMessage: kotlin.String? = null
/**
* Ground station for a contact.
*/
public var groundStation: kotlin.String? = null
/**
* Maximum elevation angle of a contact.
*/
public var maximumElevation: aws.sdk.kotlin.services.groundstation.model.Elevation? = null
/**
* ARN of a mission profile.
*/
public var missionProfileArn: kotlin.String? = null
/**
* Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.
*/
public var postPassEndTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass.
*/
public var prePassStartTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Region of a contact.
*/
public var region: kotlin.String? = null
/**
* ARN of a satellite.
*/
public var satelliteArn: kotlin.String? = null
/**
* Start time of a contact in UTC.
*/
public var startTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Tags assigned to a contact.
*/
public var tags: Map? = null
/**
* Projected time in UTC your satellite will set below the [receive mask](https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html). This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was active during contact execution for completed contacts.
*/
public var visibilityEndTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Projected time in UTC your satellite will rise above the [receive mask](https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html). This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was active during contact execution for completed contacts.
*/
public var visibilityStartTime: aws.smithy.kotlin.runtime.time.Instant? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.groundstation.model.DescribeContactResponse) : this() {
this.contactId = x.contactId
this.contactStatus = x.contactStatus
this.dataflowList = x.dataflowList
this.endTime = x.endTime
this.errorMessage = x.errorMessage
this.groundStation = x.groundStation
this.maximumElevation = x.maximumElevation
this.missionProfileArn = x.missionProfileArn
this.postPassEndTime = x.postPassEndTime
this.prePassStartTime = x.prePassStartTime
this.region = x.region
this.satelliteArn = x.satelliteArn
this.startTime = x.startTime
this.tags = x.tags
this.visibilityEndTime = x.visibilityEndTime
this.visibilityStartTime = x.visibilityStartTime
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.groundstation.model.DescribeContactResponse = DescribeContactResponse(this)
/**
* construct an [aws.sdk.kotlin.services.groundstation.model.Elevation] inside the given [block]
*/
public fun maximumElevation(block: aws.sdk.kotlin.services.groundstation.model.Elevation.Builder.() -> kotlin.Unit) {
this.maximumElevation = aws.sdk.kotlin.services.groundstation.model.Elevation.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy