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

commonMain.aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupResponse.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 GetDataflowEndpointGroupResponse private constructor(builder: Builder) {
    /**
     * Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a `POSTPASS` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the `POSTPASS` state.
     */
    public val contactPostPassDurationSeconds: kotlin.Int? = builder.contactPostPassDurationSeconds
    /**
     * Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a `PREPASS` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the `PREPASS` state.
     */
    public val contactPrePassDurationSeconds: kotlin.Int? = builder.contactPrePassDurationSeconds
    /**
     * ARN of a dataflow endpoint group.
     */
    public val dataflowEndpointGroupArn: kotlin.String? = builder.dataflowEndpointGroupArn
    /**
     * UUID of a dataflow endpoint group.
     */
    public val dataflowEndpointGroupId: kotlin.String? = builder.dataflowEndpointGroupId
    /**
     * Details of a dataflow endpoint.
     */
    public val endpointsDetails: List? = builder.endpointsDetails
    /**
     * Tags assigned to a dataflow endpoint group.
     */
    public val tags: Map? = builder.tags

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

    override fun toString(): kotlin.String = buildString {
        append("GetDataflowEndpointGroupResponse(")
        append("contactPostPassDurationSeconds=$contactPostPassDurationSeconds,")
        append("contactPrePassDurationSeconds=$contactPrePassDurationSeconds,")
        append("dataflowEndpointGroupArn=$dataflowEndpointGroupArn,")
        append("dataflowEndpointGroupId=$dataflowEndpointGroupId,")
        append("endpointsDetails=$endpointsDetails,")
        append("tags=$tags")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = contactPostPassDurationSeconds ?: 0
        result = 31 * result + (contactPrePassDurationSeconds ?: 0)
        result = 31 * result + (dataflowEndpointGroupArn?.hashCode() ?: 0)
        result = 31 * result + (dataflowEndpointGroupId?.hashCode() ?: 0)
        result = 31 * result + (endpointsDetails?.hashCode() ?: 0)
        result = 31 * result + (tags?.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 GetDataflowEndpointGroupResponse

        if (contactPostPassDurationSeconds != other.contactPostPassDurationSeconds) return false
        if (contactPrePassDurationSeconds != other.contactPrePassDurationSeconds) return false
        if (dataflowEndpointGroupArn != other.dataflowEndpointGroupArn) return false
        if (dataflowEndpointGroupId != other.dataflowEndpointGroupId) return false
        if (endpointsDetails != other.endpointsDetails) return false
        if (tags != other.tags) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a `POSTPASS` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the `POSTPASS` state.
         */
        public var contactPostPassDurationSeconds: kotlin.Int? = null
        /**
         * Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a `PREPASS` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the `PREPASS` state.
         */
        public var contactPrePassDurationSeconds: kotlin.Int? = null
        /**
         * ARN of a dataflow endpoint group.
         */
        public var dataflowEndpointGroupArn: kotlin.String? = null
        /**
         * UUID of a dataflow endpoint group.
         */
        public var dataflowEndpointGroupId: kotlin.String? = null
        /**
         * Details of a dataflow endpoint.
         */
        public var endpointsDetails: List? = null
        /**
         * Tags assigned to a dataflow endpoint group.
         */
        public var tags: Map? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupResponse) : this() {
            this.contactPostPassDurationSeconds = x.contactPostPassDurationSeconds
            this.contactPrePassDurationSeconds = x.contactPrePassDurationSeconds
            this.dataflowEndpointGroupArn = x.dataflowEndpointGroupArn
            this.dataflowEndpointGroupId = x.dataflowEndpointGroupId
            this.endpointsDetails = x.endpointsDetails
            this.tags = x.tags
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy