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

commonMain.aws.sdk.kotlin.services.groundstation.model.CreateMissionProfileResponse.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 CreateMissionProfileResponse private constructor(builder: Builder) {
    /**
     * UUID of a mission profile.
     */
    public val missionProfileId: kotlin.String? = builder.missionProfileId

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

    override fun toString(): kotlin.String = buildString {
        append("CreateMissionProfileResponse(")
        append("missionProfileId=$missionProfileId")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = missionProfileId?.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 CreateMissionProfileResponse

        if (missionProfileId != other.missionProfileId) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * UUID of a mission profile.
         */
        public var missionProfileId: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.groundstation.model.CreateMissionProfileResponse) : this() {
            this.missionProfileId = x.missionProfileId
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy