
commonMain.aws.sdk.kotlin.services.configservice.model.DescribeConfigRuleEvaluationStatusRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.configservice.model
/**
*
*/
class DescribeConfigRuleEvaluationStatusRequest private constructor(builder: Builder) {
/**
* The name of the Config managed rules for which you want status information. If you do not specify any names, Config returns status information for all Config managed rules that you use.
*/
val configRuleNames: List? = builder.configRuleNames
/**
* The number of rule evaluation results that you want returned.
*
* This parameter is required if the rule limit for your account is more than the default of 150 rules.
*
* For information about requesting a rule limit increase, see [Config Limits](http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config) in the *Amazon Web Services General Reference Guide*.
*/
val limit: kotlin.Int = builder.limit
/**
* The `nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
*/
val nextToken: kotlin.String? = builder.nextToken
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.configservice.model.DescribeConfigRuleEvaluationStatusRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeConfigRuleEvaluationStatusRequest(")
append("configRuleNames=$configRuleNames,")
append("limit=$limit,")
append("nextToken=$nextToken)")
}
override fun hashCode(): kotlin.Int {
var result = configRuleNames?.hashCode() ?: 0
result = 31 * result + (limit)
result = 31 * result + (nextToken?.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 DescribeConfigRuleEvaluationStatusRequest
if (configRuleNames != other.configRuleNames) return false
if (limit != other.limit) return false
if (nextToken != other.nextToken) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.configservice.model.DescribeConfigRuleEvaluationStatusRequest = Builder(this).apply(block).build()
class Builder {
/**
* The name of the Config managed rules for which you want status information. If you do not specify any names, Config returns status information for all Config managed rules that you use.
*/
var configRuleNames: List? = null
/**
* The number of rule evaluation results that you want returned.
*
* This parameter is required if the rule limit for your account is more than the default of 150 rules.
*
* For information about requesting a rule limit increase, see [Config Limits](http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config) in the *Amazon Web Services General Reference Guide*.
*/
var limit: kotlin.Int = 0
/**
* The `nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
*/
var nextToken: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.configservice.model.DescribeConfigRuleEvaluationStatusRequest) : this() {
this.configRuleNames = x.configRuleNames
this.limit = x.limit
this.nextToken = x.nextToken
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.configservice.model.DescribeConfigRuleEvaluationStatusRequest = DescribeConfigRuleEvaluationStatusRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy