commonMain.aws.sdk.kotlin.services.configservice.model.DeleteRemediationExceptionsRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of configservice-jvm Show documentation
Show all versions of configservice-jvm Show documentation
The AWS Kotlin client for Config Service
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.configservice.model
public class DeleteRemediationExceptionsRequest private constructor(builder: Builder) {
/**
* The name of the Config rule for which you want to delete remediation exception configuration.
*/
public val configRuleName: kotlin.String? = builder.configRuleName
/**
* An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
*/
public val resourceKeys: List? = builder.resourceKeys
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.configservice.model.DeleteRemediationExceptionsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteRemediationExceptionsRequest(")
append("configRuleName=$configRuleName,")
append("resourceKeys=$resourceKeys")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = configRuleName?.hashCode() ?: 0
result = 31 * result + (resourceKeys?.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 DeleteRemediationExceptionsRequest
if (configRuleName != other.configRuleName) return false
if (resourceKeys != other.resourceKeys) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.configservice.model.DeleteRemediationExceptionsRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the Config rule for which you want to delete remediation exception configuration.
*/
public var configRuleName: kotlin.String? = null
/**
* An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
*/
public var resourceKeys: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.configservice.model.DeleteRemediationExceptionsRequest) : this() {
this.configRuleName = x.configRuleName
this.resourceKeys = x.resourceKeys
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.configservice.model.DeleteRemediationExceptionsRequest = DeleteRemediationExceptionsRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy