commonMain.aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceParameters.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eventbridge-jvm Show documentation
Show all versions of eventbridge-jvm Show documentation
The AWS Kotlin client for EventBridge
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.eventbridge.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The parameters for EventBridge to use when invoking the resource endpoint.
*/
public class ConnectivityResourceParameters private constructor(builder: Builder) {
/**
* The parameters for EventBridge to use when invoking the resource endpoint.
*/
public val resourceParameters: aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceConfigurationArn? = builder.resourceParameters
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceParameters = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ConnectivityResourceParameters(")
append("resourceParameters=$resourceParameters")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = resourceParameters?.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 ConnectivityResourceParameters
if (resourceParameters != other.resourceParameters) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceParameters = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The parameters for EventBridge to use when invoking the resource endpoint.
*/
public var resourceParameters: aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceConfigurationArn? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceParameters) : this() {
this.resourceParameters = x.resourceParameters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceParameters = ConnectivityResourceParameters(this)
/**
* construct an [aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceConfigurationArn] inside the given [block]
*/
public fun resourceParameters(block: aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceConfigurationArn.Builder.() -> kotlin.Unit) {
this.resourceParameters = aws.sdk.kotlin.services.eventbridge.model.ConnectivityResourceConfigurationArn.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy