commonMain.aws.sdk.kotlin.services.configservice.model.StartConfigRulesEvaluationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.configservice.model
/**
*
*/
public class StartConfigRulesEvaluationRequest private constructor(builder: Builder) {
/**
* The list of names of Config rules that you want to run evaluations for.
*/
public val configRuleNames: List? = builder.configRuleNames
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.configservice.model.StartConfigRulesEvaluationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartConfigRulesEvaluationRequest(")
append("configRuleNames=$configRuleNames")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = configRuleNames?.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 StartConfigRulesEvaluationRequest
if (configRuleNames != other.configRuleNames) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.configservice.model.StartConfigRulesEvaluationRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The list of names of Config rules that you want to run evaluations for.
*/
public var configRuleNames: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.configservice.model.StartConfigRulesEvaluationRequest) : this() {
this.configRuleNames = x.configRuleNames
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.configservice.model.StartConfigRulesEvaluationRequest = StartConfigRulesEvaluationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy