
commonMain.aws.sdk.kotlin.services.pipes.model.FirehoseLogDestination.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.pipes.model
/**
* The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
*/
public class FirehoseLogDestination private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream to which EventBridge delivers the pipe log records.
*/
public val deliveryStreamArn: kotlin.String? = builder.deliveryStreamArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.pipes.model.FirehoseLogDestination = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("FirehoseLogDestination(")
append("deliveryStreamArn=$deliveryStreamArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = deliveryStreamArn?.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 FirehoseLogDestination
if (deliveryStreamArn != other.deliveryStreamArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.pipes.model.FirehoseLogDestination = Builder(this).apply(block).build()
public class Builder {
/**
* The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream to which EventBridge delivers the pipe log records.
*/
public var deliveryStreamArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.pipes.model.FirehoseLogDestination) : this() {
this.deliveryStreamArn = x.deliveryStreamArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.pipes.model.FirehoseLogDestination = FirehoseLogDestination(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy