
commonMain.aws.sdk.kotlin.services.nimble.model.UpdateStreamingImageResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.nimble.model
import aws.smithy.kotlin.runtime.SdkDsl
public class UpdateStreamingImageResponse private constructor(builder: Builder) {
/**
* Represents a streaming image resource.
*
* Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.
*
* Amazon provides a number of streaming images that include popular 3rd-party software.
*
* You can create your own streaming images using an Amazon EC2 machine image that you create for this purpose. You can also include software that your users require.
*/
public val streamingImage: aws.sdk.kotlin.services.nimble.model.StreamingImage? = builder.streamingImage
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.nimble.model.UpdateStreamingImageResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateStreamingImageResponse(")
append("streamingImage=$streamingImage")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = streamingImage?.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 UpdateStreamingImageResponse
if (streamingImage != other.streamingImage) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.nimble.model.UpdateStreamingImageResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Represents a streaming image resource.
*
* Streaming images are used by studio users to select which operating system and software they want to use in a Nimble Studio streaming session.
*
* Amazon provides a number of streaming images that include popular 3rd-party software.
*
* You can create your own streaming images using an Amazon EC2 machine image that you create for this purpose. You can also include software that your users require.
*/
public var streamingImage: aws.sdk.kotlin.services.nimble.model.StreamingImage? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.nimble.model.UpdateStreamingImageResponse) : this() {
this.streamingImage = x.streamingImage
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.nimble.model.UpdateStreamingImageResponse = UpdateStreamingImageResponse(this)
/**
* construct an [aws.sdk.kotlin.services.nimble.model.StreamingImage] inside the given [block]
*/
public fun streamingImage(block: aws.sdk.kotlin.services.nimble.model.StreamingImage.Builder.() -> kotlin.Unit) {
this.streamingImage = aws.sdk.kotlin.services.nimble.model.StreamingImage.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy