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

commonMain.aws.sdk.kotlin.services.elasticbeanstalk.model.PlatformDescription.kt Maven / Gradle / Ivy

There is a newer version: 1.3.31
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.elasticbeanstalk.model

import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant

/**
 * Detailed information about a platform version.
 */
public class PlatformDescription private constructor(builder: Builder) {
    /**
     * The custom AMIs supported by the platform version.
     */
    public val customAmiList: List? = builder.customAmiList
    /**
     * The date when the platform version was created.
     */
    public val dateCreated: aws.smithy.kotlin.runtime.time.Instant? = builder.dateCreated
    /**
     * The date when the platform version was last updated.
     */
    public val dateUpdated: aws.smithy.kotlin.runtime.time.Instant? = builder.dateUpdated
    /**
     * The description of the platform version.
     */
    public val description: kotlin.String? = builder.description
    /**
     * The frameworks supported by the platform version.
     */
    public val frameworks: List? = builder.frameworks
    /**
     * Information about the maintainer of the platform version.
     */
    public val maintainer: kotlin.String? = builder.maintainer
    /**
     * The operating system used by the platform version.
     */
    public val operatingSystemName: kotlin.String? = builder.operatingSystemName
    /**
     * The version of the operating system used by the platform version.
     */
    public val operatingSystemVersion: kotlin.String? = builder.operatingSystemVersion
    /**
     * The ARN of the platform version.
     */
    public val platformArn: kotlin.String? = builder.platformArn
    /**
     * The state of the platform version's branch in its lifecycle.
     *
     * Possible values: `Beta` | `Supported` | `Deprecated` | `Retired`
     */
    public val platformBranchLifecycleState: kotlin.String? = builder.platformBranchLifecycleState
    /**
     * The platform branch to which the platform version belongs.
     */
    public val platformBranchName: kotlin.String? = builder.platformBranchName
    /**
     * The category of the platform version.
     */
    public val platformCategory: kotlin.String? = builder.platformCategory
    /**
     * The state of the platform version in its lifecycle.
     *
     * Possible values: `Recommended` | `null`
     *
     * If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch has a single recommended platform version, typically the most recent one.
     */
    public val platformLifecycleState: kotlin.String? = builder.platformLifecycleState
    /**
     * The name of the platform version.
     */
    public val platformName: kotlin.String? = builder.platformName
    /**
     * The AWS account ID of the person who created the platform version.
     */
    public val platformOwner: kotlin.String? = builder.platformOwner
    /**
     * The status of the platform version.
     */
    public val platformStatus: aws.sdk.kotlin.services.elasticbeanstalk.model.PlatformStatus? = builder.platformStatus
    /**
     * The version of the platform version.
     */
    public val platformVersion: kotlin.String? = builder.platformVersion
    /**
     * The programming languages supported by the platform version.
     */
    public val programmingLanguages: List? = builder.programmingLanguages
    /**
     * The name of the solution stack used by the platform version.
     */
    public val solutionStackName: kotlin.String? = builder.solutionStackName
    /**
     * The additions supported by the platform version.
     */
    public val supportedAddonList: List? = builder.supportedAddonList
    /**
     * The tiers supported by the platform version.
     */
    public val supportedTierList: List? = builder.supportedTierList

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

    override fun toString(): kotlin.String = buildString {
        append("PlatformDescription(")
        append("customAmiList=$customAmiList,")
        append("dateCreated=$dateCreated,")
        append("dateUpdated=$dateUpdated,")
        append("description=$description,")
        append("frameworks=$frameworks,")
        append("maintainer=$maintainer,")
        append("operatingSystemName=$operatingSystemName,")
        append("operatingSystemVersion=$operatingSystemVersion,")
        append("platformArn=$platformArn,")
        append("platformBranchLifecycleState=$platformBranchLifecycleState,")
        append("platformBranchName=$platformBranchName,")
        append("platformCategory=$platformCategory,")
        append("platformLifecycleState=$platformLifecycleState,")
        append("platformName=$platformName,")
        append("platformOwner=$platformOwner,")
        append("platformStatus=$platformStatus,")
        append("platformVersion=$platformVersion,")
        append("programmingLanguages=$programmingLanguages,")
        append("solutionStackName=$solutionStackName,")
        append("supportedAddonList=$supportedAddonList,")
        append("supportedTierList=$supportedTierList")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = customAmiList?.hashCode() ?: 0
        result = 31 * result + (dateCreated?.hashCode() ?: 0)
        result = 31 * result + (dateUpdated?.hashCode() ?: 0)
        result = 31 * result + (description?.hashCode() ?: 0)
        result = 31 * result + (frameworks?.hashCode() ?: 0)
        result = 31 * result + (maintainer?.hashCode() ?: 0)
        result = 31 * result + (operatingSystemName?.hashCode() ?: 0)
        result = 31 * result + (operatingSystemVersion?.hashCode() ?: 0)
        result = 31 * result + (platformArn?.hashCode() ?: 0)
        result = 31 * result + (platformBranchLifecycleState?.hashCode() ?: 0)
        result = 31 * result + (platformBranchName?.hashCode() ?: 0)
        result = 31 * result + (platformCategory?.hashCode() ?: 0)
        result = 31 * result + (platformLifecycleState?.hashCode() ?: 0)
        result = 31 * result + (platformName?.hashCode() ?: 0)
        result = 31 * result + (platformOwner?.hashCode() ?: 0)
        result = 31 * result + (platformStatus?.hashCode() ?: 0)
        result = 31 * result + (platformVersion?.hashCode() ?: 0)
        result = 31 * result + (programmingLanguages?.hashCode() ?: 0)
        result = 31 * result + (solutionStackName?.hashCode() ?: 0)
        result = 31 * result + (supportedAddonList?.hashCode() ?: 0)
        result = 31 * result + (supportedTierList?.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 PlatformDescription

        if (customAmiList != other.customAmiList) return false
        if (dateCreated != other.dateCreated) return false
        if (dateUpdated != other.dateUpdated) return false
        if (description != other.description) return false
        if (frameworks != other.frameworks) return false
        if (maintainer != other.maintainer) return false
        if (operatingSystemName != other.operatingSystemName) return false
        if (operatingSystemVersion != other.operatingSystemVersion) return false
        if (platformArn != other.platformArn) return false
        if (platformBranchLifecycleState != other.platformBranchLifecycleState) return false
        if (platformBranchName != other.platformBranchName) return false
        if (platformCategory != other.platformCategory) return false
        if (platformLifecycleState != other.platformLifecycleState) return false
        if (platformName != other.platformName) return false
        if (platformOwner != other.platformOwner) return false
        if (platformStatus != other.platformStatus) return false
        if (platformVersion != other.platformVersion) return false
        if (programmingLanguages != other.programmingLanguages) return false
        if (solutionStackName != other.solutionStackName) return false
        if (supportedAddonList != other.supportedAddonList) return false
        if (supportedTierList != other.supportedTierList) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * The custom AMIs supported by the platform version.
         */
        public var customAmiList: List? = null
        /**
         * The date when the platform version was created.
         */
        public var dateCreated: aws.smithy.kotlin.runtime.time.Instant? = null
        /**
         * The date when the platform version was last updated.
         */
        public var dateUpdated: aws.smithy.kotlin.runtime.time.Instant? = null
        /**
         * The description of the platform version.
         */
        public var description: kotlin.String? = null
        /**
         * The frameworks supported by the platform version.
         */
        public var frameworks: List? = null
        /**
         * Information about the maintainer of the platform version.
         */
        public var maintainer: kotlin.String? = null
        /**
         * The operating system used by the platform version.
         */
        public var operatingSystemName: kotlin.String? = null
        /**
         * The version of the operating system used by the platform version.
         */
        public var operatingSystemVersion: kotlin.String? = null
        /**
         * The ARN of the platform version.
         */
        public var platformArn: kotlin.String? = null
        /**
         * The state of the platform version's branch in its lifecycle.
         *
         * Possible values: `Beta` | `Supported` | `Deprecated` | `Retired`
         */
        public var platformBranchLifecycleState: kotlin.String? = null
        /**
         * The platform branch to which the platform version belongs.
         */
        public var platformBranchName: kotlin.String? = null
        /**
         * The category of the platform version.
         */
        public var platformCategory: kotlin.String? = null
        /**
         * The state of the platform version in its lifecycle.
         *
         * Possible values: `Recommended` | `null`
         *
         * If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch has a single recommended platform version, typically the most recent one.
         */
        public var platformLifecycleState: kotlin.String? = null
        /**
         * The name of the platform version.
         */
        public var platformName: kotlin.String? = null
        /**
         * The AWS account ID of the person who created the platform version.
         */
        public var platformOwner: kotlin.String? = null
        /**
         * The status of the platform version.
         */
        public var platformStatus: aws.sdk.kotlin.services.elasticbeanstalk.model.PlatformStatus? = null
        /**
         * The version of the platform version.
         */
        public var platformVersion: kotlin.String? = null
        /**
         * The programming languages supported by the platform version.
         */
        public var programmingLanguages: List? = null
        /**
         * The name of the solution stack used by the platform version.
         */
        public var solutionStackName: kotlin.String? = null
        /**
         * The additions supported by the platform version.
         */
        public var supportedAddonList: List? = null
        /**
         * The tiers supported by the platform version.
         */
        public var supportedTierList: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.elasticbeanstalk.model.PlatformDescription) : this() {
            this.customAmiList = x.customAmiList
            this.dateCreated = x.dateCreated
            this.dateUpdated = x.dateUpdated
            this.description = x.description
            this.frameworks = x.frameworks
            this.maintainer = x.maintainer
            this.operatingSystemName = x.operatingSystemName
            this.operatingSystemVersion = x.operatingSystemVersion
            this.platformArn = x.platformArn
            this.platformBranchLifecycleState = x.platformBranchLifecycleState
            this.platformBranchName = x.platformBranchName
            this.platformCategory = x.platformCategory
            this.platformLifecycleState = x.platformLifecycleState
            this.platformName = x.platformName
            this.platformOwner = x.platformOwner
            this.platformStatus = x.platformStatus
            this.platformVersion = x.platformVersion
            this.programmingLanguages = x.programmingLanguages
            this.solutionStackName = x.solutionStackName
            this.supportedAddonList = x.supportedAddonList
            this.supportedTierList = x.supportedTierList
        }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy