![JAR search and dependency download from the Maven repository](/logo.png)
commonMain.aws.sdk.kotlin.services.waf.model.GetSqlInjectionMatchSetResponse.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
/**
* The response to a GetSqlInjectionMatchSet request.
*/
public class GetSqlInjectionMatchSetResponse private constructor(builder: Builder) {
/**
* Information about the SqlInjectionMatchSet that you specified in the `GetSqlInjectionMatchSet` request. For more information, see the following topics:
* + SqlInjectionMatchSet: Contains `Name`, `SqlInjectionMatchSetId`, and an array of `SqlInjectionMatchTuple` objects
* + SqlInjectionMatchTuple: Each `SqlInjectionMatchTuple` object contains `FieldToMatch` and `TextTransformation`
* + FieldToMatch: Contains `Data` and `Type`
*/
public val sqlInjectionMatchSet: aws.sdk.kotlin.services.waf.model.SqlInjectionMatchSet? = builder.sqlInjectionMatchSet
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.waf.model.GetSqlInjectionMatchSetResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetSqlInjectionMatchSetResponse(")
append("sqlInjectionMatchSet=$sqlInjectionMatchSet")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = sqlInjectionMatchSet?.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 GetSqlInjectionMatchSetResponse
if (sqlInjectionMatchSet != other.sqlInjectionMatchSet) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.waf.model.GetSqlInjectionMatchSetResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Information about the SqlInjectionMatchSet that you specified in the `GetSqlInjectionMatchSet` request. For more information, see the following topics:
* + SqlInjectionMatchSet: Contains `Name`, `SqlInjectionMatchSetId`, and an array of `SqlInjectionMatchTuple` objects
* + SqlInjectionMatchTuple: Each `SqlInjectionMatchTuple` object contains `FieldToMatch` and `TextTransformation`
* + FieldToMatch: Contains `Data` and `Type`
*/
public var sqlInjectionMatchSet: aws.sdk.kotlin.services.waf.model.SqlInjectionMatchSet? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.waf.model.GetSqlInjectionMatchSetResponse) : this() {
this.sqlInjectionMatchSet = x.sqlInjectionMatchSet
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.waf.model.GetSqlInjectionMatchSetResponse = GetSqlInjectionMatchSetResponse(this)
/**
* construct an [aws.sdk.kotlin.services.waf.model.SqlInjectionMatchSet] inside the given [block]
*/
public fun sqlInjectionMatchSet(block: aws.sdk.kotlin.services.waf.model.SqlInjectionMatchSet.Builder.() -> kotlin.Unit) {
this.sqlInjectionMatchSet = aws.sdk.kotlin.services.waf.model.SqlInjectionMatchSet.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy