
commonMain.aws.sdk.kotlin.services.medialive.model.MediaConnectFlowRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* The settings for a MediaConnect Flow.
*/
public class MediaConnectFlowRequest private constructor(builder: Builder) {
/**
* The ARN of the MediaConnect Flow that you want to use as a source.
*/
public val flowArn: kotlin.String? = builder.flowArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.MediaConnectFlowRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("MediaConnectFlowRequest(")
append("flowArn=$flowArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = flowArn?.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 MediaConnectFlowRequest
if (flowArn != other.flowArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.MediaConnectFlowRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ARN of the MediaConnect Flow that you want to use as a source.
*/
public var flowArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.MediaConnectFlowRequest) : this() {
this.flowArn = x.flowArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.MediaConnectFlowRequest = MediaConnectFlowRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy