
commonMain.aws.sdk.kotlin.services.medialive.model.DeleteChannelRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Placeholder documentation for DeleteChannelRequest
*/
public class DeleteChannelRequest private constructor(builder: Builder) {
/**
* Unique ID of the channel.
*/
public val channelId: kotlin.String? = requireNotNull(builder.channelId) { "A non-null value must be provided for channelId" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.DeleteChannelRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteChannelRequest(")
append("channelId=$channelId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelId?.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 DeleteChannelRequest
if (channelId != other.channelId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.DeleteChannelRequest = Builder(this).apply(block).build()
public class Builder {
/**
* Unique ID of the channel.
*/
public var channelId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.DeleteChannelRequest) : this() {
this.channelId = x.channelId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.DeleteChannelRequest = DeleteChannelRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy