![JAR search and dependency download from the Maven repository](/logo.png)
commonMain.aws.sdk.kotlin.services.waf.model.GetRateBasedRuleManagedKeysRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of waf-jvm Show documentation
Show all versions of waf-jvm Show documentation
The AWS SDK for Kotlin client for WAF
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.waf.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetRateBasedRuleManagedKeysRequest private constructor(builder: Builder) {
/**
* A null value and not currently used. Do not include this in your request.
*/
public val nextMarker: kotlin.String? = builder.nextMarker
/**
* The `RuleId` of the RateBasedRule for which you want to get a list of `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by ListRateBasedRules.
*/
public val ruleId: kotlin.String? = builder.ruleId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.waf.model.GetRateBasedRuleManagedKeysRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetRateBasedRuleManagedKeysRequest(")
append("nextMarker=$nextMarker,")
append("ruleId=$ruleId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = nextMarker?.hashCode() ?: 0
result = 31 * result + (ruleId?.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 GetRateBasedRuleManagedKeysRequest
if (nextMarker != other.nextMarker) return false
if (ruleId != other.ruleId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.waf.model.GetRateBasedRuleManagedKeysRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A null value and not currently used. Do not include this in your request.
*/
public var nextMarker: kotlin.String? = null
/**
* The `RuleId` of the RateBasedRule for which you want to get a list of `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by ListRateBasedRules.
*/
public var ruleId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.waf.model.GetRateBasedRuleManagedKeysRequest) : this() {
this.nextMarker = x.nextMarker
this.ruleId = x.ruleId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.waf.model.GetRateBasedRuleManagedKeysRequest = GetRateBasedRuleManagedKeysRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy