
commonMain.aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest.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 DescribeTrustStoresRequest private constructor(builder: Builder) {
/**
* The marker for the next set of results. (You received this marker from a previous call.)
*/
public val marker: kotlin.String? = builder.marker
/**
* The names of the trust stores.
*/
public val names: List? = builder.names
/**
* The maximum number of results to return with this call.
*/
public val pageSize: kotlin.Int? = builder.pageSize
/**
* The Amazon Resource Name (ARN) of the trust store.
*/
public val trustStoreArns: List? = builder.trustStoreArns
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeTrustStoresRequest(")
append("marker=$marker,")
append("names=$names,")
append("pageSize=$pageSize,")
append("trustStoreArns=$trustStoreArns")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = marker?.hashCode() ?: 0
result = 31 * result + (names?.hashCode() ?: 0)
result = 31 * result + (pageSize ?: 0)
result = 31 * result + (trustStoreArns?.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 DescribeTrustStoresRequest
if (marker != other.marker) return false
if (names != other.names) return false
if (pageSize != other.pageSize) return false
if (trustStoreArns != other.trustStoreArns) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The marker for the next set of results. (You received this marker from a previous call.)
*/
public var marker: kotlin.String? = null
/**
* The names of the trust stores.
*/
public var names: List? = null
/**
* The maximum number of results to return with this call.
*/
public var pageSize: kotlin.Int? = null
/**
* The Amazon Resource Name (ARN) of the trust store.
*/
public var trustStoreArns: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest) : this() {
this.marker = x.marker
this.names = x.names
this.pageSize = x.pageSize
this.trustStoreArns = x.trustStoreArns
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest = DescribeTrustStoresRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy