
commonMain.aws.sdk.kotlin.services.elasticloadbalancingv2.model.GetTrustStoreCaCertificatesBundleRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.elasticloadbalancingv2.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetTrustStoreCaCertificatesBundleRequest private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the trust store.
*/
public val trustStoreArn: kotlin.String? = builder.trustStoreArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.elasticloadbalancingv2.model.GetTrustStoreCaCertificatesBundleRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetTrustStoreCaCertificatesBundleRequest(")
append("trustStoreArn=$trustStoreArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = trustStoreArn?.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 GetTrustStoreCaCertificatesBundleRequest
if (trustStoreArn != other.trustStoreArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.elasticloadbalancingv2.model.GetTrustStoreCaCertificatesBundleRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Amazon Resource Name (ARN) of the trust store.
*/
public var trustStoreArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.elasticloadbalancingv2.model.GetTrustStoreCaCertificatesBundleRequest) : this() {
this.trustStoreArn = x.trustStoreArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.elasticloadbalancingv2.model.GetTrustStoreCaCertificatesBundleRequest = GetTrustStoreCaCertificatesBundleRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy