commonMain.aws.sdk.kotlin.services.pinpointemail.model.GetConfigurationSetEventDestinationsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pinpointemail-jvm Show documentation
Show all versions of pinpointemail-jvm Show documentation
The AWS SDK for Kotlin client for Pinpoint Email
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.pinpointemail.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Information about an event destination for a configuration set.
*/
public class GetConfigurationSetEventDestinationsResponse private constructor(builder: Builder) {
/**
* An array that includes all of the events destinations that have been configured for the configuration set.
*/
public val eventDestinations: List? = builder.eventDestinations
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.pinpointemail.model.GetConfigurationSetEventDestinationsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetConfigurationSetEventDestinationsResponse(")
append("eventDestinations=$eventDestinations")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = eventDestinations?.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 GetConfigurationSetEventDestinationsResponse
if (eventDestinations != other.eventDestinations) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.pinpointemail.model.GetConfigurationSetEventDestinationsResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* An array that includes all of the events destinations that have been configured for the configuration set.
*/
public var eventDestinations: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.pinpointemail.model.GetConfigurationSetEventDestinationsResponse) : this() {
this.eventDestinations = x.eventDestinations
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.pinpointemail.model.GetConfigurationSetEventDestinationsResponse = GetConfigurationSetEventDestinationsResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}