commonMain.aws.sdk.kotlin.services.gamelift.model.DescribeRuntimeConfigurationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gamelift-jvm Show documentation
Show all versions of gamelift-jvm Show documentation
The AWS SDK for Kotlin client for GameLift
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.gamelift.model
import aws.smithy.kotlin.runtime.SdkDsl
public class DescribeRuntimeConfigurationResponse private constructor(builder: Builder) {
/**
* Instructions that describe how server processes are launched and maintained on computes in the fleet.
*/
public val runtimeConfiguration: aws.sdk.kotlin.services.gamelift.model.RuntimeConfiguration? = builder.runtimeConfiguration
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.gamelift.model.DescribeRuntimeConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeRuntimeConfigurationResponse(")
append("runtimeConfiguration=$runtimeConfiguration")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = runtimeConfiguration?.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 DescribeRuntimeConfigurationResponse
if (runtimeConfiguration != other.runtimeConfiguration) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.gamelift.model.DescribeRuntimeConfigurationResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Instructions that describe how server processes are launched and maintained on computes in the fleet.
*/
public var runtimeConfiguration: aws.sdk.kotlin.services.gamelift.model.RuntimeConfiguration? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.gamelift.model.DescribeRuntimeConfigurationResponse) : this() {
this.runtimeConfiguration = x.runtimeConfiguration
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.gamelift.model.DescribeRuntimeConfigurationResponse = DescribeRuntimeConfigurationResponse(this)
/**
* construct an [aws.sdk.kotlin.services.gamelift.model.RuntimeConfiguration] inside the given [block]
*/
public fun runtimeConfiguration(block: aws.sdk.kotlin.services.gamelift.model.RuntimeConfiguration.Builder.() -> kotlin.Unit) {
this.runtimeConfiguration = aws.sdk.kotlin.services.gamelift.model.RuntimeConfiguration.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy