
commonMain.aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeSslPoliciesRequest.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 DescribeSslPoliciesRequest private constructor(builder: Builder) {
/**
* The type of load balancer. The default lists the SSL policies for all load balancers.
*/
public val loadBalancerType: aws.sdk.kotlin.services.elasticloadbalancingv2.model.LoadBalancerTypeEnum? = builder.loadBalancerType
/**
* 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 policies.
*/
public val names: List? = builder.names
/**
* The maximum number of results to return with this call.
*/
public val pageSize: kotlin.Int? = builder.pageSize
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeSslPoliciesRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeSslPoliciesRequest(")
append("loadBalancerType=$loadBalancerType,")
append("marker=$marker,")
append("names=$names,")
append("pageSize=$pageSize")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = loadBalancerType?.hashCode() ?: 0
result = 31 * result + (marker?.hashCode() ?: 0)
result = 31 * result + (names?.hashCode() ?: 0)
result = 31 * result + (pageSize ?: 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 DescribeSslPoliciesRequest
if (loadBalancerType != other.loadBalancerType) return false
if (marker != other.marker) return false
if (names != other.names) return false
if (pageSize != other.pageSize) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeSslPoliciesRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The type of load balancer. The default lists the SSL policies for all load balancers.
*/
public var loadBalancerType: aws.sdk.kotlin.services.elasticloadbalancingv2.model.LoadBalancerTypeEnum? = null
/**
* 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 policies.
*/
public var names: List? = null
/**
* The maximum number of results to return with this call.
*/
public var pageSize: kotlin.Int? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeSslPoliciesRequest) : this() {
this.loadBalancerType = x.loadBalancerType
this.marker = x.marker
this.names = x.names
this.pageSize = x.pageSize
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.elasticloadbalancingv2.model.DescribeSslPoliciesRequest = DescribeSslPoliciesRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy