
commonMain.aws.sdk.kotlin.services.iam.model.GetContextKeysForCustomPolicyRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iam.model
public class GetContextKeysForCustomPolicyRequest private constructor(builder: Builder) {
/**
* A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy.
*
* The [regex pattern](http://wikipedia.org/wiki/regex) used to validate this parameter is a string of characters consisting of the following:
* + Any printable ASCII character ranging from the space character (`\u0020`) through the end of the ASCII character range
* + The printable characters in the Basic Latin and Latin-1 Supplement character set (through `\u00FF`)
* + The special characters tab (`\u0009`), line feed (`\u000A`), and carriage return (`\u000D`)
*/
public val policyInputList: List? = builder.policyInputList
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iam.model.GetContextKeysForCustomPolicyRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetContextKeysForCustomPolicyRequest(")
append("policyInputList=$policyInputList")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = policyInputList?.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 GetContextKeysForCustomPolicyRequest
if (policyInputList != other.policyInputList) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iam.model.GetContextKeysForCustomPolicyRequest = Builder(this).apply(block).build()
public class Builder {
/**
* A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy.
*
* The [regex pattern](http://wikipedia.org/wiki/regex) used to validate this parameter is a string of characters consisting of the following:
* + Any printable ASCII character ranging from the space character (`\u0020`) through the end of the ASCII character range
* + The printable characters in the Basic Latin and Latin-1 Supplement character set (through `\u00FF`)
* + The special characters tab (`\u0009`), line feed (`\u000A`), and carriage return (`\u000D`)
*/
public var policyInputList: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iam.model.GetContextKeysForCustomPolicyRequest) : this() {
this.policyInputList = x.policyInputList
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iam.model.GetContextKeysForCustomPolicyRequest = GetContextKeysForCustomPolicyRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy